@probolabs/playwright 1.1.0-rc.1 → 1.2.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/dist/.tsbuildinfo +1 -1
- package/dist/fixtures.cjs +3 -1
- package/dist/fixtures.cjs.map +1 -1
- package/dist/fixtures.js +3 -1
- package/dist/fixtures.js.map +1 -1
- package/dist/index.cjs +104 -31
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +104 -31
- 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.d.ts
CHANGED
|
@@ -109,13 +109,15 @@ interface ProboPlaywrightConfig {
|
|
|
109
109
|
timeoutConfig?: Partial<PlaywrightTimeoutConfig>;
|
|
110
110
|
enableSmartSelectors?: boolean;
|
|
111
111
|
debugLevel?: ProboLogLevel;
|
|
112
|
+
isCanceled?: () => boolean;
|
|
112
113
|
}
|
|
113
114
|
declare class ProboPlaywright {
|
|
114
115
|
private readonly enableSmartSelectors;
|
|
115
116
|
private readonly timeoutConfig;
|
|
116
117
|
private page;
|
|
117
118
|
private params;
|
|
118
|
-
|
|
119
|
+
private isCanceled;
|
|
120
|
+
constructor({ enableSmartSelectors, timeoutConfig, debugLevel, isCanceled }: ProboPlaywrightConfig, page?: Page$1 | null);
|
|
119
121
|
/**
|
|
120
122
|
* Sets the Playwright page instance for this ProboPlaywright instance.
|
|
121
123
|
* Also applies the configured default navigation and action timeouts to the page.
|