فهرست منبع

Changed the name to Selenium::ActionChains

Emmanuel Peroumalnaik 10 سال پیش
والد
کامیت
42a2e435af
2فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 1 1
      lib/Selenium/ActionChains.pm
  2. 2 2
      t/11-action-chains.t

+ 1 - 1
lib/Selenium/Remote/Driver/ActionChains.pm → lib/Selenium/ActionChains.pm

@@ -1,4 +1,4 @@
-package Selenium::Remote::Driver::ActionChains; 
+package Selenium::ActionChains; 
 # ABSTRACT: Action chains for Selenium::Remote::Driver
 use Moo; 
 

+ 2 - 2
t/11-action-chains.t

@@ -4,7 +4,7 @@ use warnings;
 use JSON;
 use Test::More;
 use Test::Selenium::Remote::Driver;
-use Selenium::Remote::Driver::ActionChains;
+use Selenium::ActionChains;
 use Selenium::Remote::WDKeys 'KEYS';
 
 use FindBin;
@@ -17,7 +17,7 @@ my $harness = TestHarness->new(
 my %selenium_args = %{ $harness->base_caps };
 
 my $driver = Test::Selenium::Remote::Driver->new(%selenium_args);
-my $action_chains = Selenium::Remote::Driver::ActionChains->new(driver => $driver);
+my $action_chains = Selenium::ActionChains->new(driver => $driver);
 
 $driver->get('https://www.google.com');
 my $input_text = $driver->find_element("//input[\@type='text']");