Category Archives: Selenium-Webdriver

Identify the wire calls being sent

Problem Knowing which wire calls are being sent to the driver/browser can be useful in understanding Watir’s behaviour, especially with performance issues. How do you find out what wire calls are being made? Answer To output the wire calls being … Continue reading

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

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