When I run the script I get the following error, either using python or python3:
working start...
Traceback (most recent call last):
File "/home/Tools/Google-Maps-Scraper/googlemaps scraping/main.py", line 107, in <module>
element=driver.find_element_by_xpath('//*[@id="QA0Szd"]/div/div/div[1]/div[2]/div/div[1]/div/div/div[3]/div[1]')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'WebDriver' object has no attribute 'find_element_by_xpath'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/Tools/Google-Maps-Scraper/googlemaps scraping/main.py", line 109, in <module>
element=driver.find_element_by_xpath('//*[@id="QA0Szd"]/div/div/div[1]/div[2]/div/div[1]/div/div/div[3]/div[1]') #again found
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'WebDriver' object has no attribute 'find_element_by_xpath'
When I run the script I get the following error, either using python or python3: