mobilewright 0.0.61 → 0.0.63
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/README.md +3 -0
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -274,6 +274,9 @@ const orientation = await device.getOrientation();
|
|
|
274
274
|
await device.setGeolocation({ latitude: -17.833, longitude: 177.947 });
|
|
275
275
|
await device.setGeolocation(null); // clear the override
|
|
276
276
|
|
|
277
|
+
// Foldables — set the hinge on foldable iOS simulators and Android emulators
|
|
278
|
+
await device.setFoldState('half-open'); // 'folded' | 'half-open' | 'open' | 0–180
|
|
279
|
+
|
|
277
280
|
// Screen dimensions and pixel density: { width, height, scale }
|
|
278
281
|
const size = await device.screenSize();
|
|
279
282
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mobilewright",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.63",
|
|
4
4
|
"description": "Mobile device automation framework inspired by Playwright",
|
|
5
5
|
"homepage": "https://mobilewright.dev",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
"templates"
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@mobilewright/core": "^0.0.
|
|
38
|
-
"@mobilewright/driver-mobilecli": "^0.0.
|
|
39
|
-
"@mobilewright/driver-mobilenext": "^0.0.
|
|
40
|
-
"@mobilewright/inspector": "^0.0.
|
|
41
|
-
"@mobilewright/protocol": "^0.0.
|
|
37
|
+
"@mobilewright/core": "^0.0.63",
|
|
38
|
+
"@mobilewright/driver-mobilecli": "^0.0.63",
|
|
39
|
+
"@mobilewright/driver-mobilenext": "^0.0.63",
|
|
40
|
+
"@mobilewright/inspector": "^0.0.63",
|
|
41
|
+
"@mobilewright/protocol": "^0.0.63",
|
|
42
42
|
"commander": "^15.0.0",
|
|
43
43
|
"open": "^10.2.0",
|
|
44
44
|
"debug": "^4.4.3",
|