playwright icon indicating copy to clipboard operation
playwright copied to clipboard

[Bug]: playwright Webkit can use touch event

Open lightersss opened this issue 1 month ago • 0 comments

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.

Image

but in webkit the touchEvent can be created successfully.

Image

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

lightersss avatar Dec 01 '25 09:12 lightersss