I need to click on:
<h3 class="submenu" style="background-position: 0px -68px;">Envio de Ordens de Operações com Ativos Financeiros</h3>
This is my code:
driver.find_element(By.XPATH, '//*[@id="conteudo"]/div[2]/div[3]/div[1]/div[1]/h3').click()
I already tried by xpath and class_name but its not working.
This is the error:
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element:
Envio de Ordens de Operações com Ativos Financeiros
. Then i copy the xpath. – Matheus Jan 23 '23 at 17:45