Skip to main content

Mar 4, 2013 - 1 minute read - Selenium Simplified Blog WebDriver

Click on "html" to make User Interactions more reliable

I have been lucky over the years that when I put out some information into the world, and I get to learn from the people who consume that information.

I received a lot of good feedback from readers of “Selenium Simplified” about what they found easy to understand, and what they didn’t, and that all helped with future editions and when I was constructing the online course.

And I get to learn from the people on the course itself.

I’ve always found Advanced User Interactions in WebDriver intermittent to use.

Recently Kent Wood, one of the people taking the online course wrestled this particular bug bear to the ground using a method I haven’t seen before, but Kent managed to find from trawling the internet.

To put focus on to the page, before issuing any user interaction commands, click on the “html”.

Seems simple, but I hadn’t used this before.


Kent describes it on his blog:

Thanks Kent.

- in Selenium Simplified Blog WebDriver

You will need a Github account to comment. Or you can contact me with your comment.

I reserve the right to delete spam comments e.g. if your comment adds no value and its purpose is simply to create a backlink to another site offering training, or courses, or etc.