Category Archives: Selenium-Webdriver

Identify the wire calls being sent

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 … Continue reading

Posted in Selenium-Webdriver, Watir | Tagged , | 2 Comments

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