Skip to content

Commit b926857

Browse files
committed
Update EdgeDriver to be able to launch chrome based edge
1 parent 5c7f37e commit b926857

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

lib/Selenium/Edge.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ anything, we'll try to find it on our own via L<File::Which/which>.
5252
has 'binary' => (
5353
is => 'lazy',
5454
coerce => \&coerce_simple_binary,
55-
default => sub { 'MicrosoftWebDriver.exe' },
55+
default => sub { 'msedgedriver.exe' },
5656
predicate => 1
5757
);
5858

lib/Selenium/Remote/Driver.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ our %CURRENT_ACTION_CHAIN = ( actions => [] );
5353

5454
=for Pod::Coverage BUILD
5555
56-
=for Pod::Coverage DEMOLISH
56+
=for Pod::Coverage oEMOLISH
5757
5858
=head1 SYNOPSIS
5959
@@ -1044,7 +1044,7 @@ sub _request_new_session {
10441044
if $FORCE_WD2; #XXX 'secret' feature to help the legacy unit tests to work
10451045

10461046
#Delete compatibility layer when using drivers directly
1047-
if ( $self->isa('Selenium::Firefox') || $self->isa('Selenium::Chrome') ) {
1047+
if ( $self->isa('Selenium::Firefox') || $self->isa('Selenium::Chrome') || $self->isa('Selenium::Edge') ) {
10481048
if ( exists $args->{capabilities}
10491049
&& exists $args->{capabilities}->{alwaysMatch} )
10501050
{

0 commit comments

Comments
 (0)