Open alexkhazzam opened 2 years ago
I am working on the following.
This method of selecting HTML elements fails to work.
'//div[@id="rso"]/div/div/div/a/div/div[2]/div[4]/p/span'
Additionally, these HTML selectors need to be updated.
driver.execute_script(""" const menu = document.getElementById('hdtbMenus'); menu.classList.remove('p4DDCd'); menu.classList.add('yyoM4d'); """)
Hi, did u tried //*[@id="rso"] ?
I am working on the following.
This method of selecting HTML elements fails to work.
'//div[@id="rso"]/div/div/div/a/div/div[2]/div[4]/p/span'
Additionally, these HTML selectors need to be updated.