Cannot pass the string that includes character backstick into password field
Author: necvn-duyhnCreated Jul 11, 2025Updated Aug 18, 2026
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
)
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
') 2025-07-11 10:03:21,051 - INFO - Thoughts:
- The objective is to input the password
12345678Zzinto 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
12345
678Zz
Screenshots The backsticks was removed
Source: lavague-ai/LaVague