Hello,

I'm trying to use watir-webdriver with appium and I've had good success, but 
one thing I've found is that using the element locator that the name attribute 
is left off on purpose as per the comments.  However, this proves to be useful 
for appium tests since name is something you get automatically from certain UI 
elements in iOS at least.  I'm able to override it by doing the below, but I'm 
wondering if there's a better or planned way to support tests via appium.

module Watir

  class ElementLocator

    include Watir::Exception


    WD_FINDERS =  [

      :class,

      :class_name,

      :css,

      :id,

      :link,

      :link_text,

      :name,     # deliberately excluded to be watirspec compliant

      :partial_link_text,

      :tag_name,

      :xpath

    ]

  end

end

---
Reply to this email directly or view it on GitHub:
https://github.com/watir/watir-webdriver/issues/238
_______________________________________________
Wtr-development mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-development

Reply via email to