Comments (2)
You can see a possible solution for the disable-problem at elisarver/selophane@3d191b3.
I think it's not relevant if the click is possible or not, because you can obviously click on every element on a screen, perhaps to check if nothing happens. On the other side if I choose select(option1)
I expected that after that option1 is selected or I get an exception or at least a return value which shows me that nothing could be selected.
from selenium.
Current behavior matches W3C WebDriver standard [1] that describes a special case of click operation for 'option' elements. Selenium does not actually click it, it selects an option. So it allows to select an option if it is selectable but not clilckable. For example, Firefox allows to pick an option with style="display: none;" if you put focus to its 'select' parent and govern it with the keyboard.
But Firefox driver allows to select a disabled element, and it seems to be an issue, I've moved it to geckodriver tracker [2]
[1] https://w3c.github.io/webdriver/webdriver-spec.html#element-click
[2] mozilla/geckodriver#1107
from selenium.
Related Issues (20)
- [🐛 Bug]: ExpectedCondition::elementToBeClickable does not consider CSS `pointer-events: none` HOT 12
- [🐛 Bug]: Minitest::UnexpectedError: Selenium::WebDriver::Error::NoSuchWindowError: no such window HOT 9
- [🐛 Bug]: why the docker image selenium/standalone-firefox supports proxy,but chrome doesn't? HOT 1
- [🐛 Bug]: After webdriver.close and quit(), reinstantiating ChromeDriver throws SessionNotCreatedException(JAVA) HOT 2
- [🐛 Bug]: BiDi events are not fired in order HOT 4
- [🐛 Bug]: Unable to handle window management popup while opening a new window HOT 1
- [🐛 Bug]: Selenium unable to connect to Chrome 128 when not directly installed HOT 10
- [🐛 Bug]: Selenium BIDI network interception facing an issue with the "network.provideResponse" method HOT 1
- [🚀 Feature]: turn off animation or wait for finish animation HOT 2
- [🐛 Bug]: Timeout set to 16 minutes, but always fails with timeout after 9 minutes HOT 9
- [🐛 Bug]: Cannot connect Nodes to Selenium Hub using Https protocol; HOT 3
- [🐛 Bug]: Testing a chrome problem using chromedriver HOT 2
- [🐛 Bug]: No more UnhandledAlertException with Firefox 129 and problem with BiDi handling of confirmation dialog with Chrome HOT 1
- [🚀 Feature]: Switch to remote driver using an environment variable HOT 5
- [🚀 Feature]: Use self-managed browsers in Docker containers
- [🐛 Bug]: Error after updating to Chrome 128 HOT 7
- [🐛 Bug]: Race condition in ruby library for capybara system tests HOT 3
- [🐛 Bug]: Selenium edge driver cannot go to extension page using codes HOT 2
- [🐛 Bug]: eservice HOT 2
- [🐛 Bug]: "--headlessmode=new" with Chromedriver 128 in container results in SessionNotCreatedException HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from selenium.