We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cacea2c commit ae84636Copy full SHA for ae84636
1 file changed
lib/Selenium/Remote/Driver.pm
@@ -1006,7 +1006,7 @@ sub _request_new_session {
1006
if $FORCE_WD2; #XXX 'secret' feature to help the legacy unit tests to work
1007
1008
#Delete compatibility layer when using drivers directly
1009
- if ( $self->isa('Selenium::Firefox') ) {
+ if ( $self->isa('Selenium::Firefox') || $self->isa('Selenium::Chrome') ) {
1010
if ( exists $args->{capabilities}
1011
&& exists $args->{capabilities}->{alwaysMatch} )
1012
{
0 commit comments