Command element.getLocation throwing nullPointerException [SafariDriver]

Issue-


While executing the Selenium command webElement.getLocation(), nullPointerException is being thrown by the SafariDriver.


Exception-


Exception in thread "main" java.lang.NullPointerException
at org.openqa.selenium.remote.RemoteWebElement.getLocation(RemoteWebElement.java:331)


GIST- Safari_getLocation_Test.java


GIT Issue- Command getLocation throwing Null Pointer Exception [Safari 12] #6975

Replies

While executing the Selenium command

webElement.getLocation()
,
nullPointerException
is being thrown by the SafariDriver.

I think you might have more luck asking this question via the support channel provided by the third-party tool you’re using.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"