-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Open
Description
Version
1.57.0
Steps to reproduce
use the console in playwright webkit to create touchEvent
document.createEvent('TouchEvent')
Expected behavior
Create touchEvent should cause an error.
Actual behavior
In safari on Mac, create touchEvent will cause an error.
but in webkit the touchEvent can be created successfully.
Additional context
No response
Environment
System:
OS: macOS 15.3.1
CPU: (12) arm64 Apple M4 Pro
Memory: 116.58 MB / 24.00 GB
Binaries:
Node: 18.20.8 - /Users/guohao01/.nvm/versions/node/v18.20.8/bin/node
Yarn: 1.22.22 - /Users/guohao01/.nvm/versions/node/v18.20.8/bin/yarn
npm: 10.8.2 - /Users/guohao01/.nvm/versions/node/v18.20.8/bin/npm
pnpm: 10.24.0 - /Users/guohao01/.nvm/versions/node/v18.20.8/bin/pnpm
IDEs:
Cursor: 2.1.42 - /usr/local/bin/cursor
Languages:
Bash: 3.2.57 - /bin/bash
npmPackages:
@playwright/test: ^1.57.0 => 1.57.0
playwright: ^1.57.0 => 1.57.0