theintern / leadfoot

A JavaScript client library that brings cross-platform consistency to the Selenium WebDriver API.
Other
170 stars 24 forks source link

Add feature test for broken handling of disabled elements #119

Closed jason0x43 closed 4 years ago

jason0x43 commented 7 years ago

geckodriver (at least versions 0.16 and 0.18) incorrectly returns an error when clicking a disabled element.

For an initial fix, add a feature test for this behavior. If the defective behavior is present and any action other than /clear results in an invalid state error, ignore the error.

See also: https://github.com/dojo/meta/issues/182#issuecomment-318367775

jason0x43 commented 4 years ago

This was fixed in geckodriver.