Explorar o código

Fix #388: Remove unnecessary polyfill due to incorrect interp

of jsonwire standard
George S. Baugh %!s(int64=7) %!d(string=hai) anos
pai
achega
7109b90b93
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  1. 0 2
      lib/Selenium/Remote/Driver.pm

+ 0 - 2
lib/Selenium/Remote/Driver.pm

@@ -2147,8 +2147,6 @@ sub available_engines {
 sub switch_to_frame {
     my ( $self, $id ) = @_;
 
-    return $self->switch_to_parent_frame() if ($self->{is_wd3} && !defined($id));
-
     my $json_null = JSON::null;
     my $params;
     $id = ( defined $id ) ? $id : $json_null;