瀏覽代碼

Reorganize new_from_caps documentation

Daniel Gempesaw 11 年之前
父節點
當前提交
725ffc7580
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/Selenium/Remote/Driver.pm

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

@@ -216,12 +216,12 @@ available here.
  Input:
  Input:
     The only respected keys in the input hash are:
     The only respected keys in the input hash are:
 
 
+        desired_capabilities - HASHREF - defaults to {}
         remote_server_addr   - STRING  - defaults to localhost
         remote_server_addr   - STRING  - defaults to localhost
         port                 - INTEGER - defaults to 4444
         port                 - INTEGER - defaults to 4444
         default_finder       - STRING  - defaults to xpath
         default_finder       - STRING  - defaults to xpath
         webelement_class     - STRING  - defaults to Selenium::Remote::WebElement
         webelement_class     - STRING  - defaults to Selenium::Remote::WebElement
         auto_close           - BOOLEAN - defaults to 1
         auto_close           - BOOLEAN - defaults to 1
-        desired_capabilities - HASHREF - defaults to {}
 
 
     Except for C<desired_capabilities>, these keys perform exactly the
     Except for C<desired_capabilities>, these keys perform exactly the
     same as listed in the regular "new" constructor.
     same as listed in the regular "new" constructor.