I'm using watir for some automation. I want to select a value from select list so I did-- $browser.select_list(:id,"id_of_select_list").select("text")
this, but this is giving me error as
`Selenium::WebDriver::Error::UnknownError: '[JavaScript Error: "a is null" {file:"file:///tmp/webdriver-profile20131118-31369-q5lb08/extensions/fxdriver@googlecode.com/components/command_processor.js" line: 7677}]' when calling method: [nsICommandProcessor::execute]`
This error interestingly comes only in case of firefox, when I use chrome everything works fine. Any thoughts...
尝试这样的事情xyz_select_list = $ browser.select_list(:id,“ id_of_select_list”)。wait_until_present xyz_select_list.click
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.