webdriverio 7.7.4 → 7.7.5
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.
|
@@ -23,12 +23,12 @@ import { Browser as PuppeteerBrowser } from 'puppeteer-core/lib/cjs/puppeteer/co
|
|
|
23
23
|
const puppeteerBrowser = browser.getPuppeteer()
|
|
24
24
|
// switch to Puppeteer
|
|
25
25
|
const metrics = browser.call(async () => {
|
|
26
|
-
|
|
26
|
+
const pages = await puppeteerBrowser.pages()
|
|
27
27
|
pages[0].setGeolocation({ latitude: 59.95, longitude: 30.31667 })
|
|
28
28
|
return pages[0].metrics()
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
-
console.log(metrics.LayoutCount) // returns
|
|
31
|
+
console.log(metrics.LayoutCount) // returns LayoutCount value
|
|
32
32
|
})
|
|
33
33
|
* </example>
|
|
34
34
|
*
|
|
@@ -31,12 +31,12 @@ const log = logger_1.default('webdriverio');
|
|
|
31
31
|
const puppeteerBrowser = browser.getPuppeteer()
|
|
32
32
|
// switch to Puppeteer
|
|
33
33
|
const metrics = browser.call(async () => {
|
|
34
|
-
|
|
34
|
+
const pages = await puppeteerBrowser.pages()
|
|
35
35
|
pages[0].setGeolocation({ latitude: 59.95, longitude: 30.31667 })
|
|
36
36
|
return pages[0].metrics()
|
|
37
37
|
})
|
|
38
38
|
|
|
39
|
-
console.log(metrics.LayoutCount) // returns
|
|
39
|
+
console.log(metrics.LayoutCount) // returns LayoutCount value
|
|
40
40
|
})
|
|
41
41
|
* </example>
|
|
42
42
|
*
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "webdriverio",
|
|
3
3
|
"description": "Next-gen browser and mobile automation test framework for Node.js",
|
|
4
|
-
"version": "7.7.
|
|
4
|
+
"version": "7.7.5",
|
|
5
5
|
"homepage": "https://webdriver.io",
|
|
6
6
|
"author": "Christian Bromann <christian@saucelabs.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -57,20 +57,20 @@
|
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
59
|
"@types/aria-query": "^4.2.1",
|
|
60
|
-
"@types/node": "^
|
|
61
|
-
"@wdio/config": "7.7.
|
|
60
|
+
"@types/node": "^15.12.5",
|
|
61
|
+
"@wdio/config": "7.7.5",
|
|
62
62
|
"@wdio/logger": "7.7.0",
|
|
63
63
|
"@wdio/protocols": "7.7.4",
|
|
64
|
-
"@wdio/repl": "7.7.
|
|
65
|
-
"@wdio/types": "7.7.
|
|
66
|
-
"@wdio/utils": "7.7.
|
|
64
|
+
"@wdio/repl": "7.7.5",
|
|
65
|
+
"@wdio/types": "7.7.5",
|
|
66
|
+
"@wdio/utils": "7.7.5",
|
|
67
67
|
"archiver": "^5.0.0",
|
|
68
68
|
"aria-query": "^4.2.2",
|
|
69
69
|
"atob": "^2.1.2",
|
|
70
70
|
"css-shorthand-properties": "^1.1.1",
|
|
71
71
|
"css-value": "^0.0.1",
|
|
72
|
-
"devtools": "7.7.
|
|
73
|
-
"devtools-protocol": "^0.0.
|
|
72
|
+
"devtools": "7.7.5",
|
|
73
|
+
"devtools-protocol": "^0.0.900357",
|
|
74
74
|
"fs-extra": "^10.0.0",
|
|
75
75
|
"get-port": "^5.1.1",
|
|
76
76
|
"grapheme-splitter": "^1.0.2",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"resq": "^1.9.1",
|
|
85
85
|
"rgb2hex": "0.2.5",
|
|
86
86
|
"serialize-error": "^8.0.0",
|
|
87
|
-
"webdriver": "7.7.
|
|
87
|
+
"webdriver": "7.7.5"
|
|
88
88
|
},
|
|
89
|
-
"gitHead": "
|
|
89
|
+
"gitHead": "3cbc9645fdf42e24d6306bc5ac42c34920093970"
|
|
90
90
|
}
|