I’m working with Pythoin and I have tried to use the Geo Location, here is what I did:
self.driver.set_location(30.257364, -97.806956, 0.0)
location_info = self.driver.location()
print(“1st location”, location_info)
The set seems to work, but the “self.driver.location()” is not resolved and shows a problem even before running.
In the case, trying to run this code, I get the error:
location_info = self.driver.location()
AttributeError: ‘WebDriver’ object has no attribute ‘location’