Преглед изворни кода

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