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

[Regression]: PauseAsync/CodeGen no longer highlighting the exact location of locators on screen #2933

Closed
Shehreem-Solirius opened this issue May 10, 2024 · 3 comments
Assignees
Labels

Comments

@Shehreem-Solirius
Copy link

Shehreem-Solirius commented May 10, 2024

Last Good Version

1.39

First Bad Version

1.40

Steps to reproduce

Note: I have not created a repo as it's not needed for this issue, please see steps below

  1. Run the following command in the terminal - npx playwright codegen https://guidance.submit-learner-data.service.gov.uk/
  2. Click any locator on screen
  3. Notice, the top left corner is highlighted rather than the exact location of the locator
image

Expected behavior

I expect the exact location of the locator to be highlighted, e.g. in the image above, the search bar

Actual behavior

The top left corner of the screen is highlighed

Additional context

This is annoying when trying to create custom locators
It also happens when running PauseAsync
This used to work before we updated playwright due to older versions not supporting dotnet8, so we cannot downgrade to get the functionality
This seems to only happen on our sites, Google for example, works fine

Environment

- Operating System: Windows
- Browser: Chromium
- .NET Version (TFM): net8.0
@mxschmitt
Copy link
Member

I was able to reproduce it, looks like its fixed in 1.44 which we'll release in a couple of days.

@Shehreem-Solirius
Copy link
Author

Amazing, thanks, looking forward to the update 😄

@mxschmitt mxschmitt self-assigned this May 15, 2024
@mxschmitt
Copy link
Member

I'll close it, since this gets fixed in 1.44.0 which we'll release shortly.

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

No branches or pull requests

2 participants