Version
1.45.2
Steps to reproduce
- clone https://github.com/DetachHead/playwright-bug
- run
npm ci
- run
node index.js
- run
playwright show-trace asdf.zip
Expected behavior
all four locator actions appear in the trace file
Actual behavior
only the last 2 actions appear:

Additional context
No response
Environment
System:
OS: Windows 11 10.0.22621
CPU: (12) x64 11th Gen Intel(R) Core(TM) i5-11500H @ 2.90GHz
Memory: 9.70 GB / 31.20 GB
Binaries:
Node: 19.7.0 - ~\AppData\Roaming\node\node.EXE
npm: 9.5.0 - ~\AppData\Roaming\node\npm.CMD
IDEs:
VSCode: 1.91.1 - C:\Users\user\AppData\Local\Programs\Microsoft VS Code\bin\code.CMD
npmPackages:
playwright: ^1.45.2 => 1.45.2
Version
1.45.2
Steps to reproduce
npm cinode index.jsplaywright show-trace asdf.zipExpected behavior
all four locator actions appear in the trace file
Actual behavior
only the last 2 actions appear:
Additional context
No response
Environment
System: OS: Windows 11 10.0.22621 CPU: (12) x64 11th Gen Intel(R) Core(TM) i5-11500H @ 2.90GHz Memory: 9.70 GB / 31.20 GB Binaries: Node: 19.7.0 - ~\AppData\Roaming\node\node.EXE npm: 9.5.0 - ~\AppData\Roaming\node\npm.CMD IDEs: VSCode: 1.91.1 - C:\Users\user\AppData\Local\Programs\Microsoft VS Code\bin\code.CMD npmPackages: playwright: ^1.45.2 => 1.45.2