Skip to content

[RPA][ERROR] - cannot find XPath - use frame() in this case to specify frame #243

@linolc

Description

@linolc

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"]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions