Closed Bhavnak13 closed 4 years ago
You'd probably have to increase the sleep time. Make it to 10-12. Everyone has varying internet speeds and load times.
Actually I get this message
SLOTS OPEN!
'say' is not recognized as an internal or external command,
operable program or batch file.
Traceback (most recent call last):
File "whole_foods_delivery_autobuy.py", line 125, in
Does that mean slot_select_button = driver.find_element_by_xpath('/html/body/div[5]/div[1]/div/div[2]/div/div/div/div/div[1]/div[4]/div[2]/div/div[4]/div/div/ul/li/span/span/div/div[2]/span/span/button') These html tags are incorrect that's why message is : no such element: Unable to locate ?
for the say error please refer to the FAQ section in Readme. for the html, time.sleep(6), try to increase it to 10
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"xpath","selector":"/html/body/div[5]/div[1]/div/div[2]/div/div/div/div/div[1]/div[4]/div[2]/div/div[4]/div/div/ul/li/span/span/div/div[2]/span/span/button"} (Session info: chrome=80.0.3987.163)