Răsfoiți Sursa

fix deps and document FINDERS

George S. Baugh 5 ani în urmă
părinte
comite
528417977c
2 a modificat fișierele cu 10 adăugiri și 0 ștergeri
  1. 3 0
      dist.ini
  2. 7 0
      lib/Selenium/Remote/Driver.pm

+ 3 - 0
dist.ini

@@ -83,3 +83,6 @@ encoding = bytes
 ; authordep Pod::Weaver::Section::SeeAlso = 0
 ; authordep Pod::Weaver::Section::GenerateSection = 0
 ; authordep Pod::Elemental::Transformer::List = 0
+; authordep XML::Simple = 0
+; authordep Test::LWP::UserAgent = 0
+; authordep Test::Pod::Coverage = 0

+ 7 - 0
lib/Selenium/Remote/Driver.pm

@@ -202,6 +202,13 @@ You can get around that by passing an extra flag to the sub, or setting:
 
 When in WC3 Webdriver mode.
 
+=head2 FINDERS
+
+This constant is a hashref map of the old element finder aliases from wd2 to wd3.
+
+    use Data::Dumper;
+    print Dumper($Selenium::Remote::Driver::FINDERS);
+
 =head2 WC3 WEBDRIVER CURRENT STATUS
 
 That said, the following 'sanity tests' in the at/ (acceptance test) directory of the module passed on the following versions: