File tree Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -950,6 +950,7 @@ export declare namespace BrowsingContext {
950
950
}
951
951
export type EmulationCommand =
952
952
| Emulation . SetGeolocationOverride
953
+ | Emulation . SetLocaleOverride
953
954
| Emulation . SetScreenOrientationOverride ;
954
955
export declare namespace Emulation {
955
956
type SetGeolocationOverride = {
@@ -1018,6 +1019,22 @@ export declare namespace Emulation {
1018
1019
type : 'positionUnavailable' ;
1019
1020
} ;
1020
1021
}
1022
+ export declare namespace Emulation {
1023
+ type SetLocaleOverride = {
1024
+ method : 'emulation.setLocaleOverride' ;
1025
+ params : Emulation . SetLocaleOverrideParameters ;
1026
+ } ;
1027
+ }
1028
+ export declare namespace Emulation {
1029
+ type SetLocaleOverrideParameters = {
1030
+ locale : string | null ;
1031
+ contexts ?: [
1032
+ BrowsingContext . BrowsingContext ,
1033
+ ...BrowsingContext . BrowsingContext [ ] ,
1034
+ ] ;
1035
+ userContexts ?: [ Browser . UserContext , ...Browser . UserContext [ ] ] ;
1036
+ } ;
1037
+ }
1021
1038
export declare namespace Emulation {
1022
1039
type SetScreenOrientationOverride = {
1023
1040
method : 'emulation.setScreenOrientationOverride' ;
Original file line number Diff line number Diff line change @@ -952,6 +952,7 @@ export namespace BrowsingContext {
952
952
}
953
953
export type EmulationCommand =
954
954
| Emulation . SetGeolocationOverride
955
+ | Emulation . SetLocaleOverride
955
956
| Emulation . SetScreenOrientationOverride ;
956
957
export namespace Emulation {
957
958
export type SetGeolocationOverride = {
@@ -1020,6 +1021,22 @@ export namespace Emulation {
1020
1021
type : 'positionUnavailable' ;
1021
1022
} ;
1022
1023
}
1024
+ export namespace Emulation {
1025
+ export type SetLocaleOverride = {
1026
+ method : 'emulation.setLocaleOverride' ;
1027
+ params : Emulation . SetLocaleOverrideParameters ;
1028
+ } ;
1029
+ }
1030
+ export namespace Emulation {
1031
+ export type SetLocaleOverrideParameters = {
1032
+ locale : string | null ;
1033
+ contexts ?: [
1034
+ BrowsingContext . BrowsingContext ,
1035
+ ...BrowsingContext . BrowsingContext [ ] ,
1036
+ ] ;
1037
+ userContexts ?: [ Browser . UserContext , ...Browser . UserContext [ ] ] ;
1038
+ } ;
1039
+ }
1023
1040
export namespace Emulation {
1024
1041
export type SetScreenOrientationOverride = {
1025
1042
method : 'emulation.setScreenOrientationOverride' ;
You can’t perform that action at this time.
0 commit comments