1#Get the current location of your browser
2browser_location = driver.get_window_position()
3# eg: {'y': 127, 'x': 15}
4
5# Set the absolute position of your Web element here (top-left corner)
6element_location = (element.location["x"]+ browser_location["x"],
7 element.location["y"]+ browser_location["y"])
8