Version
1.58
Steps to reproduce
With Playwright version 1.53, the field appears as a paragraph element.
Starting from versions 1.54 through 1.58, the same field appears as paragraph -> button when using Playwright's snapshot feature on both Chrome and Firefox browsers.
The issue occurs only in some tests.
Expected behavior
We expect the field to come on paragraph.
Actual behavior
The field is coming on paragraph -> button
Additional context
No response
Environment
-Operating System: Ubuntu 22.04
-CPU AMD64
-Browser: Chromium, Firefox
-Java Version: 17.0.18
-Maven Version 3.8.7