Explorar o código

Added an effing handle, so clean

Emmanuel Peroumalnaik %!s(int64=12) %!d(string=hai) anos
pai
achega
ca6af70fb5
Modificáronse 1 ficheiros con 1 adicións e 4 borrados
  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