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] Codegen does not record actions after pressing concrete keys #5185

Closed
rmallof opened this issue Dec 23, 2020 · 2 comments · Fixed by #5188
Closed

[BUG] Codegen does not record actions after pressing concrete keys #5185

rmallof opened this issue Dec 23, 2020 · 2 comments · Fixed by #5188
Assignees

Comments

@rmallof
Copy link

rmallof commented Dec 23, 2020

Hi,

When I click in a random form field and press 'alt', for example to write '@' something happens and actions on select fields of the form are no longer recorded

Running the command:
playwright-cli -b ff --lang "en" codegen https://sforce.co/34AHdU4

  1. Click in "First name"
  2. Press "alt"
  3. The following shows up in the logs:

pw:api => frame.press started +2s
pw:api waiting for selector "input[name="UserFirstName"]" +1ms
pw:api selector resolved to visible <input type="text" required="" name="UserFirstName" ari…/> +8ms
pw:api elementHandle.press("AltGraph") +15ms
pw:api <= frame.press failed +11ms

Then, when changing the option from the "Country" field, the action is not recorded

This issue may be related to https://github.com/microsoft/playwright-cli/issues/188

Versions:
Windows 10 Pro 20H2

playwright-cli --version
Version 0.170.0

node --version
v15.4.0

@dgozman dgozman transferred this issue from microsoft/playwright-cli Jan 27, 2021
@dgozman dgozman changed the title Codegen does not record actions after pressing concrete keys [BUG] Codegen does not record actions after pressing concrete keys Jan 27, 2021
@dgozman dgozman self-assigned this Jan 27, 2021
@dgozman dgozman added the P2-bug label Jan 27, 2021
@dgozman
Copy link
Contributor

dgozman commented Jan 27, 2021

I can reproduce this. We'll work on a fix.

@xpedrooo
Copy link

Hi,

Actions are not recorded in codegen like clicking the button, filling up input fields.

Any idea?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants