You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 29, 2018. It is now read-only.
What steps will reproduce the problem?
1. Create an input and set opacity to 0
2. Using selenium, try to click the input
3. Selenium gives an error that the input is hidden. It is not -- it is simply invisible,
but the user can still interact with it in the browser.
What is the expected output? What do you see instead?
Expected output is to click the input. Instead, Selenium generates an error:
Element is not currently visible and so may not be interacted with (Selenium::WebDriver::Error::ElementNotDisplayedError)
What version of the product are you using? On what operating system?
Selenium 2 on OS X using Firefox.
Please provide any additional information below.
The reason opacity is set to zero is to cover up a file input with a different image.
The user clicks through the image to the invisible input. This is a very common practice
for styling file inputs, which are notoriously difficult to otherwise customize.