Closed mehranagh20 closed 1 year ago
Ok.
Hi @hejazizo! I get the following error while running the script:
NoSuchElementException: Message: no such element: Unable to locate element: {"method":"xpath","selector":"//*[@id="header"]/nav/div[2]/div[1]/ul/li[3]/a"}
Maybe they have changed some elements in their website? Any suggestions?
Have had the same problem since yesterday...
Is it due to the chrome update ?
Should be //*[@id="header"]/nav/div/div/div[2]/div[1]/ul/li[3]/a
with latest page layout
Thanks @Demarsch. I updated the code base with your fix and it works. Next time you can also send a pull request and I'll merge it.
Should be
//*[@id="header"]/nav/div/div/div[2]/div[1]/ul/li[3]/a
with latest page layout
Hey @Demarsch how did you find this? I am getting almost the same error but for the element class "down-arrow bounce", may be they updated it again. Could you guide? Or @hejazizo If you have an idea
Error after Login Successful and Searching for available date: Message: no such element: Unable to locate element: {"method":"xpath","selector":"//a[@class="down-arrow bounce"]"} (Session info: chrome=123.0.6312.59)
@Jeetpal1 , not sure what exactly going on. Judging by the logs on your screen you should reach the point of driver.find_element(by=By.ID, value='ui-datepicker-div')
and not look for the down-arrow bounce
Hi, I got the same error. Any idea how to fix it?
Hi @hejazizo! I get the following error while running the script:
NoSuchElementException: Message: no such element: Unable to locate element: {"method":"xpath","selector":"//*[@id="header"]/nav/div[2]/div[1]/ul/li[3]/a"}
Maybe they have changed some elements in their website? Any suggestions?