소스 검색

Fix #388: Remove unnecessary polyfill due to incorrect interp

of jsonwire standard
George S. Baugh 7 년 전
부모
커밋
7109b90b93
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  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;