webdriver-bidi-protocol 0.2.10 → 0.2.11
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 +9 -0
- package/out/gen/main.d.ts +18 -1
- package/out/index.d.ts +4 -0
- package/package.json +1 -1
- package/src/gen/main.ts +18 -1
- package/src/index.ts +4 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.2.11](https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/compare/webdriver-bidi-protocol-v0.2.10...webdriver-bidi-protocol-v0.2.11) (2025-09-10)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* add user agent override to the mapping ([#240](https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/issues/240)) ([0336e7f](https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/commit/0336e7faa0988ac4b0582a86345e5644ee8132bb))
|
|
9
|
+
* re-generate types based on specifciation updates ([#239](https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/issues/239)) ([2e52f5a](https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/commit/2e52f5ae40367410699d3a9820ad8856e7485712))
|
|
10
|
+
* re-generate types based on specifciation updates ([#242](https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/issues/242)) ([8ae63cc](https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/commit/8ae63cc2032ac3889b261d78c57b6b5cce412cad))
|
|
11
|
+
|
|
3
12
|
## [0.2.10](https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/compare/webdriver-bidi-protocol-v0.2.9...webdriver-bidi-protocol-v0.2.10) (2025-09-09)
|
|
4
13
|
|
|
5
14
|
|
package/out/gen/main.d.ts
CHANGED
|
@@ -955,7 +955,8 @@ export type EmulationCommand =
|
|
|
955
955
|
| Emulation.SetLocaleOverride
|
|
956
956
|
| Emulation.SetScreenOrientationOverride
|
|
957
957
|
| Emulation.SetScriptingEnabled
|
|
958
|
-
| Emulation.SetTimezoneOverride
|
|
958
|
+
| Emulation.SetTimezoneOverride
|
|
959
|
+
| Emulation.SetUserAgentOverride;
|
|
959
960
|
export declare namespace Emulation {
|
|
960
961
|
type SetForcedColorsModeThemeOverride = {
|
|
961
962
|
method: 'emulation.setForcedColorsModeThemeOverride';
|
|
@@ -1096,6 +1097,22 @@ export declare namespace Emulation {
|
|
|
1096
1097
|
userContexts?: [Browser.UserContext, ...Browser.UserContext[]];
|
|
1097
1098
|
};
|
|
1098
1099
|
}
|
|
1100
|
+
export declare namespace Emulation {
|
|
1101
|
+
type SetUserAgentOverride = {
|
|
1102
|
+
method: 'emulation.setUserAgentOverride';
|
|
1103
|
+
params: Emulation.SetUserAgentOverrideParameters;
|
|
1104
|
+
};
|
|
1105
|
+
}
|
|
1106
|
+
export declare namespace Emulation {
|
|
1107
|
+
type SetUserAgentOverrideParameters = {
|
|
1108
|
+
userAgent: string | null;
|
|
1109
|
+
contexts?: [
|
|
1110
|
+
BrowsingContext.BrowsingContext,
|
|
1111
|
+
...BrowsingContext.BrowsingContext[],
|
|
1112
|
+
];
|
|
1113
|
+
userContexts?: [Browser.UserContext, ...Browser.UserContext[]];
|
|
1114
|
+
};
|
|
1115
|
+
}
|
|
1099
1116
|
export declare namespace Emulation {
|
|
1100
1117
|
type SetScriptingEnabled = {
|
|
1101
1118
|
method: 'emulation.setScriptingEnabled';
|
package/out/index.d.ts
CHANGED
|
@@ -154,6 +154,10 @@ export interface Commands {
|
|
|
154
154
|
params: Bidi.Emulation.SetScriptingEnabledParameters;
|
|
155
155
|
returnType: Bidi.EmptyResult;
|
|
156
156
|
};
|
|
157
|
+
'emulation.setUserAgentOverride': {
|
|
158
|
+
params: Bidi.Emulation.SetUserAgentOverrideParameters;
|
|
159
|
+
returnType: Bidi.EmptyResult;
|
|
160
|
+
};
|
|
157
161
|
'input.performActions': {
|
|
158
162
|
params: Bidi.Input.PerformActionsParameters;
|
|
159
163
|
returnType: Bidi.EmptyResult;
|
package/package.json
CHANGED
package/src/gen/main.ts
CHANGED
|
@@ -957,7 +957,8 @@ export type EmulationCommand =
|
|
|
957
957
|
| Emulation.SetLocaleOverride
|
|
958
958
|
| Emulation.SetScreenOrientationOverride
|
|
959
959
|
| Emulation.SetScriptingEnabled
|
|
960
|
-
| Emulation.SetTimezoneOverride
|
|
960
|
+
| Emulation.SetTimezoneOverride
|
|
961
|
+
| Emulation.SetUserAgentOverride;
|
|
961
962
|
export namespace Emulation {
|
|
962
963
|
export type SetForcedColorsModeThemeOverride = {
|
|
963
964
|
method: 'emulation.setForcedColorsModeThemeOverride';
|
|
@@ -1098,6 +1099,22 @@ export namespace Emulation {
|
|
|
1098
1099
|
userContexts?: [Browser.UserContext, ...Browser.UserContext[]];
|
|
1099
1100
|
};
|
|
1100
1101
|
}
|
|
1102
|
+
export namespace Emulation {
|
|
1103
|
+
export type SetUserAgentOverride = {
|
|
1104
|
+
method: 'emulation.setUserAgentOverride';
|
|
1105
|
+
params: Emulation.SetUserAgentOverrideParameters;
|
|
1106
|
+
};
|
|
1107
|
+
}
|
|
1108
|
+
export namespace Emulation {
|
|
1109
|
+
export type SetUserAgentOverrideParameters = {
|
|
1110
|
+
userAgent: string | null;
|
|
1111
|
+
contexts?: [
|
|
1112
|
+
BrowsingContext.BrowsingContext,
|
|
1113
|
+
...BrowsingContext.BrowsingContext[],
|
|
1114
|
+
];
|
|
1115
|
+
userContexts?: [Browser.UserContext, ...Browser.UserContext[]];
|
|
1116
|
+
};
|
|
1117
|
+
}
|
|
1101
1118
|
export namespace Emulation {
|
|
1102
1119
|
export type SetScriptingEnabled = {
|
|
1103
1120
|
method: 'emulation.setScriptingEnabled';
|
package/src/index.ts
CHANGED
|
@@ -169,6 +169,10 @@ export interface Commands {
|
|
|
169
169
|
params: Bidi.Emulation.SetScriptingEnabledParameters;
|
|
170
170
|
returnType: Bidi.EmptyResult;
|
|
171
171
|
};
|
|
172
|
+
'emulation.setUserAgentOverride': {
|
|
173
|
+
params: Bidi.Emulation.SetUserAgentOverrideParameters;
|
|
174
|
+
returnType: Bidi.EmptyResult;
|
|
175
|
+
};
|
|
172
176
|
|
|
173
177
|
'input.performActions': {
|
|
174
178
|
params: Bidi.Input.PerformActionsParameters;
|