@applitools/spec-driver-webdriver 1.0.33 → 1.0.35
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/CHANGELOG.md +20 -0
- package/package.json +13 -24
- package/types/index.d.ts +2 -2
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## [1.0.35](https://github.com/applitools/eyes.sdk.javascript1/compare/js/spec-driver-webdriver@1.0.34...js/spec-driver-webdriver@1.0.35) (2023-06-21)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Dependencies
|
|
7
|
+
|
|
8
|
+
* @applitools/driver bumped from 1.12.2 to 1.12.3
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
## [1.0.34](https://github.com/applitools/eyes.sdk.javascript1/compare/js/spec-driver-webdriver-v1.0.33...js/spec-driver-webdriver@1.0.34) (2023-06-13)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Dependencies
|
|
15
|
+
|
|
16
|
+
* update some dependencies
|
|
17
|
+
* The following workspace dependencies were updated
|
|
18
|
+
* dependencies
|
|
19
|
+
* @applitools/driver bumped from 1.12.1 to 1.12.2
|
|
20
|
+
* @applitools/utils bumped from 1.3.37 to 1.4.0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/spec-driver-webdriver",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.35",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"webdriver",
|
|
6
6
|
"chrome devtools protocol",
|
|
@@ -27,10 +27,6 @@
|
|
|
27
27
|
"name": "Applitools Team",
|
|
28
28
|
"email": "team@applitools.com"
|
|
29
29
|
},
|
|
30
|
-
"aliases": [
|
|
31
|
-
"spec-webdriver",
|
|
32
|
-
"spec-wd"
|
|
33
|
-
],
|
|
34
30
|
"main": "./dist/index.js",
|
|
35
31
|
"types": "./types/index.d.ts",
|
|
36
32
|
"exports": {
|
|
@@ -46,31 +42,21 @@
|
|
|
46
42
|
"types"
|
|
47
43
|
],
|
|
48
44
|
"scripts": {
|
|
49
|
-
"lint": "
|
|
50
|
-
"build": "
|
|
51
|
-
"test": "
|
|
52
|
-
"
|
|
53
|
-
"setup": "yarn docker:setup",
|
|
54
|
-
"docker:setup": "node ../../scripts/generate-docker-compose-config.js && docker-compose up -d",
|
|
55
|
-
"docker:teardown": "docker-compose down",
|
|
56
|
-
"deps": "bongo deps",
|
|
57
|
-
"gh:test": "gh workflow run test.yml --ref $(git rev-parse --abbrev-ref HEAD) -f packages='spec-webdriver' -f links='types utils test-utils'",
|
|
58
|
-
"gh:publish": "gh workflow run publish-spec-webdriver.yml --ref $(git rev-parse --abbrev-ref HEAD)",
|
|
59
|
-
"preversion": "bongo preversion",
|
|
60
|
-
"version": "bongo version",
|
|
61
|
-
"postversion": "bongo postversion"
|
|
45
|
+
"lint": "run --top-level eslint '**/*.ts'",
|
|
46
|
+
"build": "run --top-level tspc --project ./tsconfig.build.json",
|
|
47
|
+
"test": "run --top-level mocha './test/**/*.spec.ts' -r @applitools/test-utils/mocha-hooks/docker --exit",
|
|
48
|
+
"setup": "run --top-level browsers:setup"
|
|
62
49
|
},
|
|
63
50
|
"dependencies": {
|
|
64
|
-
"@applitools/driver": "1.12.
|
|
65
|
-
"@applitools/utils": "1.
|
|
51
|
+
"@applitools/driver": "1.12.3",
|
|
52
|
+
"@applitools/utils": "1.4.0",
|
|
66
53
|
"http-proxy-agent": "5.0.0",
|
|
67
54
|
"https-proxy-agent": "5.0.1"
|
|
68
55
|
},
|
|
69
56
|
"devDependencies": {
|
|
70
|
-
"@applitools/api-extractor": "1.2.21",
|
|
71
|
-
"@applitools/bongo": "^4.0.0",
|
|
57
|
+
"@applitools/api-extractor": "^1.2.21",
|
|
72
58
|
"@applitools/test-server": "^1.2.2",
|
|
73
|
-
"@applitools/test-utils": "1.5.17",
|
|
59
|
+
"@applitools/test-utils": "^1.5.17",
|
|
74
60
|
"@types/node": "^12.20.55",
|
|
75
61
|
"nock": "^13.2.9",
|
|
76
62
|
"webdriver": "^7.27.0"
|
|
@@ -80,5 +66,8 @@
|
|
|
80
66
|
},
|
|
81
67
|
"engines": {
|
|
82
68
|
"node": ">=12.13.0"
|
|
69
|
+
},
|
|
70
|
+
"publishConfig": {
|
|
71
|
+
"access": "public"
|
|
83
72
|
}
|
|
84
|
-
}
|
|
73
|
+
}
|
package/types/index.d.ts
CHANGED
|
@@ -43,8 +43,8 @@ export function getSystemBars(browser: Driver): Promise<{ statusBar: {
|
|
|
43
43
|
height: number;
|
|
44
44
|
width: number;
|
|
45
45
|
}; }>;
|
|
46
|
-
export function getOrientation(browser: Driver): Promise<"
|
|
47
|
-
export function setOrientation(browser: Driver, orientation: "
|
|
46
|
+
export function getOrientation(browser: Driver): Promise<"portrait" | "landscape">;
|
|
47
|
+
export function setOrientation(browser: Driver, orientation: "portrait" | "landscape"): Promise<void>;
|
|
48
48
|
export function getElementRegion(driver: Driver, element: Element): Promise<{
|
|
49
49
|
x: number;
|
|
50
50
|
y: number;
|