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');
""")
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.