Category Archives: Selenium-Webdriver

Specify the location of the ChromeDriver binary

I was working on a project where the ChromeDriver binary needed to be included with the project’s code. As a result, I needed to tell Watir/Selenium where to find the binary. In looking up a solution, I found the following … Continue reading

Posted in Selenium-Webdriver, Watir-Webdriver | Tagged | Leave a comment

Changing an element’s attribute value

Problem I was asked how to change the attribute of an element using selenium-webdriver. For the page: They wanted to change the target attribute value to something else – say “foo”. Solution – Selenium-Webdriver The solution is to use the … Continue reading

Posted in Selenium-Webdriver, Watir, Watir-Classic, Watir-Webdriver | Leave a comment