Răsfoiți Sursa

Fix #388: Remove unnecessary polyfill due to incorrect interp

of jsonwire standard
George S. Baugh 7 ani în urmă
părinte
comite
7109b90b93
1 a modificat fișierele cu 0 adăugiri și 2 ștergeri
  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;