소스 검색

Added an effing handle, so clean

Emmanuel Peroumalnaik 12 년 전
부모
커밋
ca6af70fb5
1개의 변경된 파일1개의 추가작업 그리고 4개의 파일을 삭제
  1. 1 4
      lib/Selenium/Remote/WebElement.pm

+ 1 - 4
lib/Selenium/Remote/WebElement.pm

@@ -30,13 +30,10 @@ has 'id' => (
 
 has 'driver' => (
     is => 'rw',
+    handles => [qw(_execute_command)],
 );
 
 
-sub _execute_command {
-    my ($self) = shift;
-    return $self->driver->_execute_command(@_);
-}
 
 =head2 click