@unotest/web 0.47.0 → 0.48.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.
@@ -1,6 +1,6 @@
1
1
  import { InjectedDomHelpers } from '@unotest/grounder-client/dom-walker';
2
2
  import { PickerMode } from '@unotest/protocol';
3
- import { E as ElementHint } from '../interfaces-LE6GsJ0c.js';
3
+ import { E as ElementHint } from '../interfaces-CTMGjJIs.js';
4
4
  import '../config/schema.js';
5
5
  import 'zod';
6
6
 
@@ -525,6 +525,14 @@ interface DriverContext {
525
525
  * loss of the page, which a resize must never cost.
526
526
  */
527
527
  setViewport(size: ViewportSize): Promise<void>;
528
+ /**
529
+ * True while opening this context again would lose nothing the test did
530
+ * in it: one page, still on `about:blank`, and no call that set the
531
+ * context up — a route mock, a cookie or storage value, the page clock,
532
+ * emulated media, a second page. `setViewport(null)` reopens the context
533
+ * on the real window only then.
534
+ */
535
+ untouched(): boolean;
528
536
  /** The browser's own id of this context (CDP `browserContextId`), the
529
537
  * same in every process connected to the browser — or null where the
530
538
  * engine has no such id to give (Firefox, WebKit) or no page is open. */