`click` is flakey for Safari and causes test issues
Opened this issue · 2 comments
Version
1.1.42
Platform
MacOS Safari over many years and many different versions. I just ran into this on the latest Sequoia 15.0.1 version of Safari.
Symptom
You call Etaoin's click
and the WebDriver accepts the call and returns success, but Safari acts as if it never saw the click.
Actual behavior
Safari ignores the click.
Expected behavior
Safari should not ignore the click.
Diagnosis
Long-standing Safari bug that has been encountered by many people using other libraries to access Safari WebDriver.
Action
There is a workaround for this bug using JavaScript to deliver the click for Safari. I'll code up a prototype workaround and we can decide whether or not to merge it.
I previously said no to working around bugs like this in WebDrivers.
But... maybe it is reasonable to work around this very long-standing issue in safaridriver.
We have a tip for this currently in the user guide:
https://github.com/clj-commons/etaoin/blob/master/doc/01-user-guide.adoc#clicking-on-a-link-does-not-work-with-safari