Relative Content

Tag Archive for pythonhtmlselenium-webdriveropenlayers

Getting coordinates from openlayers map

I have an openlayers map with a vehicle route and it’s speed at certain points. To get the speed I need to click on a pin button on the map that opens a pop-up with some info (speed, time, geolocation, etc). What I’m trying to do is to get these data to populate a spreadsheet. This is part of a larger scraping I’m doing with Selenium in the same environment. The problem: I can’t for the life of me figure out how to automate the clicks on the pins, since there’s only one element for the pop-up that changes it’s info with each new click. Maybe there’s a way to extract the data without the need to click on the pins, but I have no idea if that’s possible.