Skip to content

hridayK/selenium-geocoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

selenium-geocoder

Modularizing selenium code for getting coordinates from address of a place.

Exmaple:

from selenium_geocoder import Globe, Browsers

# code for selecting browser to automate on:
globe = Globe(browser=Browsers.FIREFOX)
"""
Supported browsers:
- Mozilla Firefox
- Google Chrome
- Microsoft Edge
"""

# code to get coordinates of a single locaiton: (returns a tuple)
x,y = globe.get_coordinate(name='University of Mumbai')

# code to get coordinates of a batch of locations: (returns a list)
coordinates = globe.get_coordinates(name=['Grand Hyatt Mumbai','Tajlands Mumbai', 'Trident Mumbai'])

About

Modularizing selenium code for getting coordinates from address of a place, and a python library for it

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages