teodesian / Selenium-Remote-Driver

Perl Bindings to the Selenium Webdriver server
174 stars 90 forks source link

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

Closed nck974 closed 3 years ago

nck974 commented 3 years ago

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 commented 3 years ago

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

https://github.com/teodesian/Selenium-Remote-Driver/commit/b92685715ff5a0b9433a09157fbef37b5d1a0c5f

I'll make a release to CPAN soon.

teodesian commented 3 years ago

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