Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Invalid PW expressions break test mode #419

Open
justinkambic opened this issue May 18, 2023 · 0 comments
Open

[Bug] Invalid PW expressions break test mode #419

justinkambic opened this issue May 18, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@justinkambic
Copy link
Contributor

Bug summary

The recorder is not handling cases where the user inputs custom PW expressions that are not valid.

Recorder Version

1.0.0

Steps to reproduce

If I edit a selector like: internal:role=combobox[name="Search"i] to
internal:role=combobox[name="Search"i]invalid, then try to launch Test mode, the browser will fail to launch and the recorder is stuck with no way to recover.

Expected behavior

The browser should pick up the error. We could either parse it at input time, ideally, to let the user know the expression won't work before they even persist it, or highlight the input error in some way.

Additional information

No response

@justinkambic justinkambic added the bug Something isn't working label May 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant