Hello, I am interested in learning how to interact with hidden elements and disable them using Selenium WebDriver.
I've managed to achieve this with Selenium 1 by using the following code:
selenium.click(id="idOfHiddenField");
Unfortunately, this approach does not work with Selenium 2 (WebDriver). I prefer not to rely on jQuery or JavaScript to manipulate hidden fields, as most of my tests are based on XPath.
Is there a way to continue using the old version of Selenium that supports clicking on hidden fields?