@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/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
- constructor({ enableSmartSelectors, timeoutConfig, debugLevel }: ProboPlaywrightConfig, page?: Page$1 | null);
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.