どのようにアクセス要素のカスタム属性を使用Watir?
-
12-09-2019 - |
質問
解決 2
browser.text_field(:xpath , "//input[@custom_attribute='so cool']/").set("even more cool")
資料
他のヒント
フィリピンの答えはワチール-webdriverを持つ私の仕事のために動作しませんでした。
私は、しかし、CSSセレクタで仕事をする方法を見つけました。
browser.element(:css, "input[custom_attribute='so cool']").send_keys("the coolest")
所属していません StackOverflow