@probolabs/playwright 1.5.0-rc.7 → 1.5.0-rc.8
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/dist/.tsbuildinfo +1 -1
- package/dist/index.cjs +11 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +11 -1
- package/dist/index.js.map +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/replay-utils.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -5106,16 +5106,21 @@ class ProboPlaywright {
|
|
|
5106
5106
|
this.nextTabIndex = 1;
|
|
5107
5107
|
this.params = {};
|
|
5108
5108
|
this.isCanceled = null;
|
|
5109
|
+
proboLogger.setLogLevel(debugLevel);
|
|
5109
5110
|
this.enableSmartSelectors = enableSmartSelectors;
|
|
5110
5111
|
this.timeoutConfig = mergeTimeoutConfigWithEnv({
|
|
5111
5112
|
...DEFAULT_PLAYWRIGHT_TIMEOUT_CONFIG,
|
|
5112
5113
|
...timeoutConfig
|
|
5113
5114
|
});
|
|
5115
|
+
proboLogger.debug(`ProboPlaywright timeout config: playwrightActionTimeout=${this.timeoutConfig.playwrightActionTimeout}ms, ` +
|
|
5116
|
+
`playwrightNavigationTimeout=${this.timeoutConfig.playwrightNavigationTimeout}ms, ` +
|
|
5117
|
+
`playwrightLocatorTimeout=${this.timeoutConfig.playwrightLocatorTimeout}ms, ` +
|
|
5118
|
+
`waitForStabilityQuietTimeout=${this.timeoutConfig.waitForStabilityQuietTimeout}ms, ` +
|
|
5119
|
+
`waitForStabilityGlobalTimeout=${this.timeoutConfig.waitForStabilityGlobalTimeout}ms`);
|
|
5114
5120
|
this.isCanceled = isCanceled || null;
|
|
5115
5121
|
this.highlighter = new Highlighter(enableSmartSelectors, false, debugLevel);
|
|
5116
5122
|
this.context = context !== null && context !== void 0 ? context : null;
|
|
5117
5123
|
this.setPage(page);
|
|
5118
|
-
proboLogger.setLogLevel(debugLevel);
|
|
5119
5124
|
}
|
|
5120
5125
|
/**
|
|
5121
5126
|
* Sets the Playwright page instance for this ProboPlaywright instance.
|
|
@@ -7513,6 +7518,11 @@ class Probo {
|
|
|
7513
7518
|
this.timeoutConfig = mergeTimeoutConfigWithEnv({ ...DEFAULT_PLAYWRIGHT_TIMEOUT_CONFIG, ...timeoutConfig });
|
|
7514
7519
|
// set the log level for the api client
|
|
7515
7520
|
apiLogger.setLogLevel(this.debugLevel);
|
|
7521
|
+
proboLogger.debug(`Timeout config: playwrightActionTimeout=${this.timeoutConfig.playwrightActionTimeout}ms, ` +
|
|
7522
|
+
`playwrightNavigationTimeout=${this.timeoutConfig.playwrightNavigationTimeout}ms, ` +
|
|
7523
|
+
`playwrightLocatorTimeout=${this.timeoutConfig.playwrightLocatorTimeout}ms, ` +
|
|
7524
|
+
`waitForStabilityQuietTimeout=${this.timeoutConfig.waitForStabilityQuietTimeout}ms, ` +
|
|
7525
|
+
`waitForStabilityGlobalTimeout=${this.timeoutConfig.waitForStabilityGlobalTimeout}ms`);
|
|
7516
7526
|
proboLogger.info(`Initializing: scenario=${scenarioName}, apiUrl=${apiEndPoint}, ` +
|
|
7517
7527
|
`enableConsoleLogs=${enableConsoleLogs}, debugLevel=${debugLevel}, aiModel=${aiModel}`);
|
|
7518
7528
|
}
|