Skip to content

Cannot pass the string that includes character backstick into password field #641

@duyhn-1992

Description

@duyhn-1992

Describe the bug
When the Agent open the login page

To Reproduce
agent.run('Use the XPath /html/body/div/div[2]/div[2]/div[2]/div/div/div/form/div[3]/div/div/div/div/input to locate the password field and input a string as

Image

)

Expected behavior

agent.run('Use the XPath /html/body/div/div[2]/div[2]/div[2]/div/div/div/form/div[3]/div/div/div/div/input to locate the password field and input a string as

Image

')
2025-07-11 10:03:21,051 - INFO - Thoughts:

  • The objective is to input the password 12345678Zz into the password field located by the given XPath.
  • Previous attempts have failed, likely due to issues with special characters or escaping them.
  • The provided XPath seems to be correct, as it has been used successfully in previous steps for the username field.
  • The issue is likely in how the password string is handled, specifically the backticks.
  • Let's try escaping the backticks or using a different approach to input the password.
  • A simple approach is to input the password as a single string without any special characters.

The value should be

12345678Zz

Screenshots
The backsticks was removed

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions