浏览代码

Changed the Finder strings that will be used to "find" elements - Aidan Foley discovered these strings.

Aditya Ivaturi 15 年之前
父节点
当前提交
7bca5ff5ab
共有 1 个文件被更改,包括 9 次插入10 次删除
  1. 9 10
      lib/Selenium/Remote/Driver.pm

+ 9 - 10
lib/Selenium/Remote/Driver.pm

@@ -11,16 +11,15 @@ use Selenium::Remote::Commands;
 use Selenium::Remote::WebElement;
 
 use constant FINDERS => {
-        class             => 'ClassName',
-        class_name        => 'ClassName',
-        css               => 'CssSelector',
-        id                => 'id',
-        link              => 'LinkText',
-        link_text         => 'LinkText',
-        name              => 'name',
-        partial_link_text => 'PartialLinkText',
-        tag_name          => 'TagName',
-        xpath             => 'xpath',
+      class             => 'class name',
+      class_name        => 'class name',
+      id                => 'id',
+      link              => 'link text',
+      link_text         => 'link text',
+      name              => 'name',
+      partial_link_text => 'partial link text',
+      tag_name          => 'tag name',
+      xpath             => 'xpath',
 };
 
 our $VERSION = "0.10";