webdriver-bidi-protocol 0.1.4 → 0.1.6

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,3 +1,3 @@
1
1
  {
2
- ".": "0.1.4"
2
+ ".": "0.1.6"
3
3
  }
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.1.6](https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/compare/webdriver-bidi-protocol-v0.1.5...webdriver-bidi-protocol-v0.1.6) (2025-01-20)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * re-generate types based on specifciation updates ([#108](https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/issues/108)) ([00199dc](https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/commit/00199dc6e53e35cb12e1e67ce441a2d06f87e9ae))
9
+
10
+ ## [0.1.5](https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/compare/webdriver-bidi-protocol-v0.1.4...webdriver-bidi-protocol-v0.1.5) (2025-01-19)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * re-generate types based on specifciation updates ([#101](https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/issues/101)) ([c2aa431](https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/commit/c2aa431b0e7fe5c229f51d7b549fb6eb51009087))
16
+ * re-generate types based on specifciation updates ([#105](https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/issues/105)) ([adec09b](https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/commit/adec09b1c6fc6a29952a9c0a641ebd5d22f7370d))
17
+
3
18
  ## [0.1.4](https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/compare/webdriver-bidi-protocol-v0.1.3...webdriver-bidi-protocol-v0.1.4) (2025-01-08)
4
19
 
5
20
 
package/out/gen/main.d.ts CHANGED
@@ -183,6 +183,7 @@ export declare namespace Session {
183
183
  BrowsingContext.BrowsingContext,
184
184
  ...BrowsingContext.BrowsingContext[],
185
185
  ];
186
+ userContexts?: [Browser.UserContext, ...Browser.UserContext[]];
186
187
  };
187
188
  }
188
189
  export declare namespace Session {
@@ -426,6 +427,7 @@ export declare namespace BrowsingContext {
426
427
  type Locator =
427
428
  | BrowsingContext.AccessibilityLocator
428
429
  | BrowsingContext.CssLocator
430
+ | BrowsingContext.ContextLocator
429
431
  | BrowsingContext.InnerTextLocator
430
432
  | BrowsingContext.XPathLocator;
431
433
  }
@@ -444,6 +446,14 @@ export declare namespace BrowsingContext {
444
446
  value: string;
445
447
  };
446
448
  }
449
+ export declare namespace BrowsingContext {
450
+ type ContextLocator = {
451
+ type: 'context';
452
+ value: {
453
+ context: BrowsingContext.BrowsingContext;
454
+ };
455
+ };
456
+ }
447
457
  export declare namespace BrowsingContext {
448
458
  type InnerTextLocator = {
449
459
  type: 'innerText';
@@ -1803,6 +1813,7 @@ export declare namespace Script {
1803
1813
  BrowsingContext.BrowsingContext,
1804
1814
  ...BrowsingContext.BrowsingContext[],
1805
1815
  ];
1816
+ userContexts?: [Browser.UserContext, ...Browser.UserContext[]];
1806
1817
  sandbox?: string;
1807
1818
  };
1808
1819
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "webdriver-bidi-protocol",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "description": "",
5
5
  "main": "out/index.js",
6
6
  "types": "out/index.d.ts",
@@ -25,6 +25,6 @@
25
25
  "parse5": "^7.1.2",
26
26
  "prettier": "3.4.2",
27
27
  "tsd": "0.31.2",
28
- "typescript": "5.7.2"
28
+ "typescript": "5.7.3"
29
29
  }
30
30
  }
package/src/gen/main.ts CHANGED
@@ -185,6 +185,7 @@ export namespace Session {
185
185
  BrowsingContext.BrowsingContext,
186
186
  ...BrowsingContext.BrowsingContext[],
187
187
  ];
188
+ userContexts?: [Browser.UserContext, ...Browser.UserContext[]];
188
189
  };
189
190
  }
190
191
  export namespace Session {
@@ -428,6 +429,7 @@ export namespace BrowsingContext {
428
429
  export type Locator =
429
430
  | BrowsingContext.AccessibilityLocator
430
431
  | BrowsingContext.CssLocator
432
+ | BrowsingContext.ContextLocator
431
433
  | BrowsingContext.InnerTextLocator
432
434
  | BrowsingContext.XPathLocator;
433
435
  }
@@ -446,6 +448,14 @@ export namespace BrowsingContext {
446
448
  value: string;
447
449
  };
448
450
  }
451
+ export namespace BrowsingContext {
452
+ export type ContextLocator = {
453
+ type: 'context';
454
+ value: {
455
+ context: BrowsingContext.BrowsingContext;
456
+ };
457
+ };
458
+ }
449
459
  export namespace BrowsingContext {
450
460
  export type InnerTextLocator = {
451
461
  type: 'innerText';
@@ -1807,6 +1817,7 @@ export namespace Script {
1807
1817
  BrowsingContext.BrowsingContext,
1808
1818
  ...BrowsingContext.BrowsingContext[],
1809
1819
  ];
1820
+ userContexts?: [Browser.UserContext, ...Browser.UserContext[]];
1810
1821
  sandbox?: string;
1811
1822
  };
1812
1823
  }