Skip to content

[🐛 Bug]: Selenium Side Runner can't pass user profile to the Microsoft Edge #1583

Open
@rdomingo11

Description

@rdomingo11

What happened?

I'm running this command:
selenium-side-runner -c "ms:EdgeOptions.args=[user-data-dir='C:\Users\randolphd\AppData\Local\Microsoft\Edge\User Data', profile-directory='Default', use-chromium=true], browserName=MicrosoftEdge" -s "http://127.0.0.1:9515" --debug *.side

With the following versions:
npm = 9.2.0
nvm = 1.1.10
node = v19.4.0
EdgeWebDriver = v108.0.1462.76
Microsoft Edge = v108.0.1462.76

The current policy of the Microsoft Edge is to automatically sign-in using the current windows login account.

However, when I try to run the command above, it is not signing properly AND it is stuck on the user profile page where the user need to select a profile in order to login.

image

This is the what the edge version spawned by the selenium side runner.

image

How can we reproduce the issue?

Run this command:
selenium-side-runner -c "ms:EdgeOptions.args=[user-data-dir='C:\\Users\randolphd\AppData\Local\Microsoft\Edge\User Data\', profile-directory='Default', use-chromium=true], browserName=MicrosoftEdge" -s "[http://127.0.0.1:9515"](http://127.0.0.1:9515%22/) --debug *.side

Relevant log output

Not applicable.

Operating System

Microsoft Windows 10 Enterprise, 10.0.19045

Selenium version

Selenium Side Runner - 4.0.0-alpha.36

What are the browser(s) and version(s) where you see this issue?

MicrosoftEdge, v108.0.1462.76

What are the browser driver(s) and version(s) where you see this issue?

MicrosoftEdge, v108.0.1462.76

Are you using Selenium Grid?

Using downloadable EdgeWebDriver - version v108.0.1462.76

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions