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 has been archived by the owner on Nov 29, 2018. It is now read-only.
What steps will reproduce the problem?
1. Create an html page "<select style="opacity: 0;"><option>Test</option></select>"
2. Try selecting 'Test' from select with selenium
3. Try selecting 'Test' as a user viewing the page (in chrome or firefox) (click around
in the top left of the page as the control will be invisible)
What is the expected output? What do you see instead?
I expect to be able to select 'Test' from selenium (as a user can select 'Test' manually).
Instead I get a "You may not select an element that is not displayed. This is wrong
- as I clearly can do it manually.
Reported by paul@volpato.net on 2011-06-28 06:29:25
The text was updated successfully, but these errors were encountered:
Can you tell us which version of Selenium, Chrome, and Firefox you are using? This
should have been fixed a while ago (r11353). If you have a stack trace, please provide
that.
Basically, opacity: 0 will impact WebElement.isDisplayed() (you cannot "see" an invisible
element) and WebElement.getText() (you cannot "see" the text of an invisible element),
but it should not impact whether you can manipulate that element in the UI.
I'm using:
selenium-webdriver 0.2.2 (ruby gem).
Firefox 5.
My specific issue is with capybara, select(value, :from => field). Throws an error
saying I cannot interact with invisible elements.
Reported by paul@volpato.net on 2011-06-29 00:33:13
jmleyba: r11353 has no changes to the Firefox driver though:
http://code.google.com/p/selenium/source/browse/trunk/javascript/firefox-driver/extension/components/wrappedElement.js#362
Originally reported on Google Code with ID 1941
Reported by
paul@volpato.net
on 2011-06-28 06:29:25The text was updated successfully, but these errors were encountered: