webdriver-bidi-protocol 0.1.4 → 0.1.5
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/.release-please-manifest.json +1 -1
- package/CHANGELOG.md +8 -0
- package/out/gen/main.d.ts +10 -0
- package/package.json +2 -2
- package/src/gen/main.ts +10 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [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)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* 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))
|
|
9
|
+
* 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))
|
|
10
|
+
|
|
3
11
|
## [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
12
|
|
|
5
13
|
|
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';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "webdriver-bidi-protocol",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
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.
|
|
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';
|