playwright-touch 0.0.0-stage → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +612 -2
- package/dist/android.d.ts +26 -0
- package/dist/android.js +113 -0
- package/dist/chromium/clock.d.ts +12 -0
- package/dist/chromium/clock.js +45 -0
- package/dist/chromium/gestures.d.ts +56 -0
- package/dist/chromium/gestures.js +500 -0
- package/dist/chromium/steady.d.ts +16 -0
- package/dist/chromium/steady.js +38 -0
- package/dist/cli.d.ts +2 -0
- package/dist/cli.js +459 -0
- package/dist/index.d.ts +111 -0
- package/dist/index.js +149 -0
- package/dist/ios/bplist.d.ts +8 -0
- package/dist/ios/bplist.js +150 -0
- package/dist/ios/device.d.ts +30 -0
- package/dist/ios/device.js +48 -0
- package/dist/ios/inspector.d.ts +61 -0
- package/dist/ios/inspector.js +342 -0
- package/dist/ios/iphone.d.ts +27 -0
- package/dist/ios/iphone.js +141 -0
- package/dist/ios/page.d.ts +90 -0
- package/dist/ios/page.js +338 -0
- package/dist/ios/paths.d.ts +17 -0
- package/dist/ios/paths.js +77 -0
- package/dist/ios/simulator.d.ts +24 -0
- package/dist/ios/simulator.js +69 -0
- package/dist/ios/tab.d.ts +41 -0
- package/dist/ios/tab.js +171 -0
- package/dist/ios/tools.d.ts +4 -0
- package/dist/ios/tools.js +17 -0
- package/dist/ios/touch.d.ts +31 -0
- package/dist/ios/touch.js +178 -0
- package/dist/ios/usbmux.d.ts +34 -0
- package/dist/ios/usbmux.js +346 -0
- package/dist/layout.d.ts +35 -0
- package/dist/layout.js +164 -0
- package/dist/measure.d.ts +86 -0
- package/dist/measure.js +173 -0
- package/dist/own-tabs.d.ts +8 -0
- package/dist/own-tabs.js +242 -0
- package/dist/playwright-test.d.ts +66 -0
- package/dist/playwright-test.js +64 -0
- package/dist/polyline.d.ts +10 -0
- package/dist/polyline.js +38 -0
- package/dist/recipes.d.ts +57 -0
- package/dist/recipes.js +135 -0
- package/dist/report.d.ts +46 -0
- package/dist/report.js +118 -0
- package/dist/session.d.ts +35 -0
- package/dist/session.js +23 -0
- package/dist/show.d.ts +13 -0
- package/dist/show.js +51 -0
- package/dist/synthetic.d.ts +17 -0
- package/dist/synthetic.js +117 -0
- package/dist/types.d.ts +58 -0
- package/dist/types.js +2 -0
- package/package.json +83 -4
package/package.json
CHANGED
|
@@ -1,6 +1,85 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "playwright-touch",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "Real touch for browser tests: tap, swipe, fling with momentum, drag, long press, pinch and rotate in Chrome and Safari, on an emulated phone, a real Android phone or an iPhone, as functions or as a Playwright Test fixture, with measurements taken on the device.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"android",
|
|
7
|
+
"drag",
|
|
8
|
+
"e2e",
|
|
9
|
+
"fling",
|
|
10
|
+
"gestures",
|
|
11
|
+
"ios",
|
|
12
|
+
"long-press",
|
|
13
|
+
"mobile",
|
|
14
|
+
"momentum",
|
|
15
|
+
"performance",
|
|
16
|
+
"pinch",
|
|
17
|
+
"playwright",
|
|
18
|
+
"safari",
|
|
19
|
+
"swipe",
|
|
20
|
+
"testing",
|
|
21
|
+
"touch",
|
|
22
|
+
"touchscreen",
|
|
23
|
+
"web-vitals"
|
|
24
|
+
],
|
|
25
|
+
"license": "MIT",
|
|
26
|
+
"author": "Adrian Zawadzki",
|
|
27
|
+
"type": "module",
|
|
28
|
+
"exports": {
|
|
29
|
+
".": {
|
|
30
|
+
"types": "./dist/index.d.ts",
|
|
31
|
+
"default": "./dist/index.js"
|
|
32
|
+
},
|
|
33
|
+
"./test": {
|
|
34
|
+
"types": "./dist/playwright-test.d.ts",
|
|
35
|
+
"default": "./dist/playwright-test.js"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"types": "./dist/index.d.ts",
|
|
39
|
+
"files": [
|
|
40
|
+
"dist"
|
|
41
|
+
],
|
|
42
|
+
"sideEffects": false,
|
|
43
|
+
"engines": {
|
|
44
|
+
"node": ">=22"
|
|
45
|
+
},
|
|
46
|
+
"scripts": {
|
|
47
|
+
"build": "rm -rf dist && tsc -p tsconfig.build.json && node scripts/fix-types.js",
|
|
48
|
+
"typecheck": "tsc",
|
|
49
|
+
"test": "node --test --test-concurrency=1 test/*.test.ts",
|
|
50
|
+
"prepack": "npm run build",
|
|
51
|
+
"format": "prettier --write .",
|
|
52
|
+
"lint": "prettier --check ."
|
|
53
|
+
},
|
|
54
|
+
"peerDependencies": {
|
|
55
|
+
"@playwright/test": ">=1.40.0",
|
|
56
|
+
"playwright-core": ">=1.40.0"
|
|
57
|
+
},
|
|
58
|
+
"peerDependenciesMeta": {
|
|
59
|
+
"@playwright/test": {
|
|
60
|
+
"optional": true
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"devDependencies": {
|
|
64
|
+
"@playwright/test": "^1.65.2",
|
|
65
|
+
"@types/node": "^26.6.6",
|
|
66
|
+
"embla-carousel": "^8.6.0",
|
|
67
|
+
"hammerjs": "^2.0.10",
|
|
68
|
+
"leaflet": "^1.9.4",
|
|
69
|
+
"playwright-core": "^1.65.1",
|
|
70
|
+
"prettier": "^3.10.1",
|
|
71
|
+
"swiper": "^14.5.0",
|
|
72
|
+
"typescript": "^7.0.2"
|
|
73
|
+
},
|
|
74
|
+
"repository": {
|
|
75
|
+
"type": "git",
|
|
76
|
+
"url": "git+https://github.com/Had3r/playwright-touch.git"
|
|
77
|
+
},
|
|
78
|
+
"homepage": "https://github.com/Had3r/playwright-touch#readme",
|
|
79
|
+
"bugs": {
|
|
80
|
+
"url": "https://github.com/Had3r/playwright-touch/issues"
|
|
81
|
+
},
|
|
82
|
+
"bin": {
|
|
83
|
+
"playwright-touch": "dist/cli.js"
|
|
84
|
+
}
|
|
85
|
+
}
|