Skip to content

Commit ae84636

Browse files
committed
Add exemption on BrowserVersion for chrome too
1 parent cacea2c commit ae84636

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/Selenium/Remote/Driver.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1006,7 +1006,7 @@ sub _request_new_session {
10061006
if $FORCE_WD2; #XXX 'secret' feature to help the legacy unit tests to work
10071007

10081008
#Delete compatibility layer when using drivers directly
1009-
if ( $self->isa('Selenium::Firefox') ) {
1009+
if ( $self->isa('Selenium::Firefox') || $self->isa('Selenium::Chrome') ) {
10101010
if ( exists $args->{capabilities}
10111011
&& exists $args->{capabilities}->{alwaysMatch} )
10121012
{

0 commit comments

Comments
 (0)