@wdio/lighthouse-service 9.28.0 → 9.29.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/build/index.js +15 -0
- package/package.json +6 -6
package/build/index.js
CHANGED
|
@@ -377,6 +377,9 @@ var Auditor = class {
|
|
|
377
377
|
this._url = _traceLogs.pageUrl;
|
|
378
378
|
}
|
|
379
379
|
}
|
|
380
|
+
_traceLogs;
|
|
381
|
+
_devtoolsLogs;
|
|
382
|
+
_formFactor;
|
|
380
383
|
_url;
|
|
381
384
|
_audit(AUDIT, params = {}) {
|
|
382
385
|
const auditContext = {
|
|
@@ -563,6 +566,9 @@ var PWAGatherer = class {
|
|
|
563
566
|
this._networkRecorder = new NetworkRecorder();
|
|
564
567
|
});
|
|
565
568
|
}
|
|
569
|
+
_session;
|
|
570
|
+
_page;
|
|
571
|
+
_driver;
|
|
566
572
|
_frGatherer;
|
|
567
573
|
_networkRecorder;
|
|
568
574
|
_networkRecords = [];
|
|
@@ -633,6 +639,9 @@ var TraceGatherer = class extends EventEmitter {
|
|
|
633
639
|
this._protocolSession = new ProtocolSession(_session);
|
|
634
640
|
this._networkMonitor = new NetworkMonitor(_session);
|
|
635
641
|
}
|
|
642
|
+
_session;
|
|
643
|
+
_page;
|
|
644
|
+
_driver;
|
|
636
645
|
_failingFrameLoadIds = [];
|
|
637
646
|
_pageLoadDetected = false;
|
|
638
647
|
_networkListeners = {};
|
|
@@ -830,6 +839,11 @@ var CommandHandler = class {
|
|
|
830
839
|
this._devtoolsGatherer = new DevtoolsGatherer();
|
|
831
840
|
_session.on("*", this._propagateWSEvents.bind(this));
|
|
832
841
|
}
|
|
842
|
+
_session;
|
|
843
|
+
_page;
|
|
844
|
+
_driver;
|
|
845
|
+
_options;
|
|
846
|
+
_browser;
|
|
833
847
|
_isTracing = false;
|
|
834
848
|
_networkHandler;
|
|
835
849
|
_traceEvents;
|
|
@@ -997,6 +1011,7 @@ var DevToolsService = class {
|
|
|
997
1011
|
constructor(_options) {
|
|
998
1012
|
this._options = _options;
|
|
999
1013
|
}
|
|
1014
|
+
_options;
|
|
1000
1015
|
_command = [];
|
|
1001
1016
|
_browser;
|
|
1002
1017
|
async before(caps, specs, browser) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wdio/lighthouse-service",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.29.0",
|
|
4
4
|
"description": "A WebdriverIO service that allows you to run Chrome DevTools commands in your tests",
|
|
5
5
|
"author": "Christian Bromann <mail@bromann.dev>",
|
|
6
6
|
"homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-lighthouse-service",
|
|
@@ -44,15 +44,15 @@
|
|
|
44
44
|
"@tracerbench/trace-event": "^8.0.0",
|
|
45
45
|
"@types/node": "^20.1.0",
|
|
46
46
|
"@wdio/logger": "9.18.0",
|
|
47
|
-
"@wdio/types": "9.
|
|
47
|
+
"@wdio/types": "9.29.0",
|
|
48
48
|
"babel-plugin-istanbul": "^7.0.0",
|
|
49
|
-
"devtools-protocol": "^0.0.
|
|
49
|
+
"devtools-protocol": "^0.0.1646372",
|
|
50
50
|
"istanbul-lib-coverage": "^3.2.0",
|
|
51
51
|
"istanbul-lib-report": "^3.0.0",
|
|
52
52
|
"istanbul-reports": "^3.1.4",
|
|
53
53
|
"lighthouse": "8.6.0",
|
|
54
54
|
"puppeteer-core": "^24.12.1",
|
|
55
|
-
"webdriverio": "9.
|
|
55
|
+
"webdriverio": "9.29.0"
|
|
56
56
|
},
|
|
57
57
|
"publishConfig": {
|
|
58
58
|
"access": "public"
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"@types/istanbul-lib-coverage": "^2.0.6",
|
|
63
63
|
"@types/istanbul-lib-report": "^3.0.0",
|
|
64
64
|
"@types/istanbul-reports": "^3.0.4",
|
|
65
|
-
"@wdio/globals": "9.
|
|
65
|
+
"@wdio/globals": "9.29.0"
|
|
66
66
|
},
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "c7808c59ca3ab6a677230cebd688454426cba0f2"
|
|
68
68
|
}
|