Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Selenium::Edge returns "could not create new session" #463

Closed
nck974 opened this issue Mar 8, 2021 · 2 comments
Closed

Selenium::Edge returns "could not create new session" #463

nck974 opened this issue Mar 8, 2021 · 2 comments

Comments

@nck974
Copy link

nck974 commented Mar 8, 2021

I get the following error:
Could not create new session: invalid argument: cannot parse capability: browserVersion
I have tried to change this lines in the driver:
if ( $self->isa('Selenium::Firefox') || $self->isa('Selenium::Chrome') ) {
for this one
if ( $self->isa('Selenium::Firefox') || $self->isa('Selenium::Chrome') || $self->isa('Selenium::Edge') ) {
and it seems to work although it pins edge to my navigation bar I don't know why.

@teodesian
Copy link
Owner

Likely has to do with me not releasing the changes which make Edge.pm compatible with the new chrome-based version of MicrosoftEdge.

b926857

I'll make a release to CPAN soon.

@teodesian
Copy link
Owner

Should be fixed, see the releases tab, or go to cpan later tonight

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants