ruby+webdriver用xpath定位对象
摘要:例子1、dr.find_element(:xpath=> %Q{//div[@onclick='openme()']}).click例子2、dr.find_element(:xpath, '/html/body/form/div[3]/div/label/input').click
阅读全文
posted @ 2014-02-11 11:23
posted @ 2014-02-11 11:23
posted @ 2014-02-10 16:43
posted @ 2014-02-10 09:33
posted @ 2014-02-07 09:04