I'm trying to enter text in the 'placa' field, but RPA doesn't find XPath. I've tried by ID, Name, among others. The same problem occurs for the other fields and buttons on the page.
import pyautogui as p
import rpa as r
r.init()
r.url('https://www.meudetran.ms.gov.br/veiculo.php#')
p.sleep(2)
r.type('//*[@id="id_sc_field_placa"]', 'Teste')
[RPA][ERROR] - cannot find //*[@id="id_sc_field_placa"]
I'm trying to enter text in the 'placa' field, but RPA doesn't find XPath. I've tried by ID, Name, among others. The same problem occurs for the other fields and buttons on the page.
[RPA][ERROR] - cannot find //*[@id="id_sc_field_placa"]