Skip to content

[REGRESSION]: Screenshots different in Firefox on 1.33 due to mouse position #22755

Description

Context:

  • GOOD Playwright Version: 1.32.3
  • BAD Playwright Version: 1.33.0
  • Operating System: Docker image
  • Extra: Mac Host

We have a bunch of screenshot comparisons starting to fail in 1.33.0 only in Firefox; an example is:

When it gets through to the "Sorry, we're having problems" page, the "Privacy Policy" link in the footer has an extra thick underline: this is the hover style on links, which is unexpected.

It seems that the position of the mouse has remained unchanged from clicking on the "Start now" button (the log-in form is completed entirely using the keyboard), and it happens that the "Privacy Policy" link is in the same place in the viewport. This didn't happen previously in Firefox, and doesn't happen in the other browers.

If I add a await page.mouse.move(0, 0) before taking the screenshot, the link is not hovered and the test passes as expected.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions