SafariDriver finds element but can't click on it

Basically, when running tests using SafariDriver it finds the element but when I try to click it throws the error:


"Message: OpenQA.Selenium.ElementNotVisibleException : An element command could not be completed because the element is not visible on the page."


It doesnt happen in any other browser (Firefox, Chrome).

I noticed that SafariDriver sets Displayed property as false while the other browsers as true.


Is there any work around?

Replies

I experience almost the same behavior.

When clicking on elements everything works fine with FireFox or Chrome but Safari keeps giving troubles.

I'm testing with protractor 5.3.0 and Selenium grid 3.9.1.

OSX has been updated to the latest version.


Anyone else experience problems when clicking on elements recently?

I am seeing the same!

I am able to see the element in the screenshot, and when using the element finder, I am able to see it and locate it. However is not able to click on it because thinks is not visible.

Not happening with Chrome.

The same here. Did you create the bug or smth?

Hello,

Is there any update on the fix for this?


Is there any workaround to unblock ourself on this?

Please try again with macOS Mojave and Safari Technology Preview. Many bugs have been fixed since the original post was made, including adoption of the W3C WebDriver specification.


Without further details, errors such as this cannot be diagnosed. Please file a bug report at bugreport.apple.com and we'll take it from there.