Procházet zdrojové kódy

Fix #388: Remove unnecessary polyfill due to incorrect interp

of jsonwire standard
George S. Baugh před 7 roky
rodič
revize
7109b90b93
1 změnil soubory, kde provedl 0 přidání a 2 odebrání
  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;