Unable to locate element and TimeoutException when WebDriverWait is used
I'm trying to automate the clicking of the "SHOW MORE" button at the bottom of the page to get all the reviews there is. However, I'm having some problems locating it and would really appreciate it if you could help me out. I have tried a couple of methods but I am not sure why none of them work. 1) Method 1: CSS Selector driver.find_element_by_css_selector("U26fgb.O0WRkf.oG5Srb.C0oVfc.n9lfJ.M9Bg4d") leads to: NoSuchElementException: Message: no such element: Unable to locate element 2) Method 2 : XPath Helper (an extension on Chrome) driver.find_element_by_xpath("/html/body[@id='yDmH0d']/div[