devtools-protocol 0.0.1468520 → 0.0.1470888
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.
@@ -10151,6 +10151,17 @@
|
|
10151
10151
|
}
|
10152
10152
|
]
|
10153
10153
|
},
|
10154
|
+
{
|
10155
|
+
"name": "setEmulatedOSTextScale",
|
10156
|
+
"description": "Emulates the given OS text scale.",
|
10157
|
+
"parameters": [
|
10158
|
+
{
|
10159
|
+
"name": "scale",
|
10160
|
+
"optional": true,
|
10161
|
+
"type": "number"
|
10162
|
+
}
|
10163
|
+
]
|
10164
|
+
},
|
10154
10165
|
{
|
10155
10166
|
"name": "setGeolocationOverride",
|
10156
10167
|
"description": "Overrides the Geolocation Position or Error. Omitting latitude, longitude or\naccuracy emulates position unavailable.",
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -4700,6 +4700,11 @@ domain Emulation
|
|
4700
4700
|
protanopia
|
4701
4701
|
tritanopia
|
4702
4702
|
|
4703
|
+
# Emulates the given OS text scale.
|
4704
|
+
command setEmulatedOSTextScale
|
4705
|
+
parameters
|
4706
|
+
optional number scale
|
4707
|
+
|
4703
4708
|
# Overrides the Geolocation Position or Error. Omitting latitude, longitude or
|
4704
4709
|
# accuracy emulates position unavailable.
|
4705
4710
|
command setGeolocationOverride
|
@@ -2917,6 +2917,13 @@ export namespace ProtocolMapping {
|
|
2917
2917
|
paramsType: [Protocol.Emulation.SetEmulatedVisionDeficiencyRequest];
|
2918
2918
|
returnType: void;
|
2919
2919
|
};
|
2920
|
+
/**
|
2921
|
+
* Emulates the given OS text scale.
|
2922
|
+
*/
|
2923
|
+
'Emulation.setEmulatedOSTextScale': {
|
2924
|
+
paramsType: [Protocol.Emulation.SetEmulatedOSTextScaleRequest?];
|
2925
|
+
returnType: void;
|
2926
|
+
};
|
2920
2927
|
/**
|
2921
2928
|
* Overrides the Geolocation Position or Error. Omitting latitude, longitude or
|
2922
2929
|
* accuracy emulates position unavailable.
|
@@ -1961,6 +1961,11 @@ export namespace ProtocolProxyApi {
|
|
1961
1961
|
*/
|
1962
1962
|
setEmulatedVisionDeficiency(params: Protocol.Emulation.SetEmulatedVisionDeficiencyRequest): Promise<void>;
|
1963
1963
|
|
1964
|
+
/**
|
1965
|
+
* Emulates the given OS text scale.
|
1966
|
+
*/
|
1967
|
+
setEmulatedOSTextScale(params: Protocol.Emulation.SetEmulatedOSTextScaleRequest): Promise<void>;
|
1968
|
+
|
1964
1969
|
/**
|
1965
1970
|
* Overrides the Geolocation Position or Error. Omitting latitude, longitude or
|
1966
1971
|
* accuracy emulates position unavailable.
|
@@ -2085,6 +2085,11 @@ export namespace ProtocolTestsProxyApi {
|
|
2085
2085
|
*/
|
2086
2086
|
setEmulatedVisionDeficiency(params: Protocol.Emulation.SetEmulatedVisionDeficiencyRequest): Promise<{id: number, result: void, sessionId: string}>;
|
2087
2087
|
|
2088
|
+
/**
|
2089
|
+
* Emulates the given OS text scale.
|
2090
|
+
*/
|
2091
|
+
setEmulatedOSTextScale(params: Protocol.Emulation.SetEmulatedOSTextScaleRequest): Promise<{id: number, result: void, sessionId: string}>;
|
2092
|
+
|
2088
2093
|
/**
|
2089
2094
|
* Overrides the Geolocation Position or Error. Omitting latitude, longitude or
|
2090
2095
|
* accuracy emulates position unavailable.
|
package/types/protocol.d.ts
CHANGED
@@ -8788,6 +8788,10 @@ export namespace Protocol {
|
|
8788
8788
|
type: ('none' | 'blurredVision' | 'reducedContrast' | 'achromatopsia' | 'deuteranopia' | 'protanopia' | 'tritanopia');
|
8789
8789
|
}
|
8790
8790
|
|
8791
|
+
export interface SetEmulatedOSTextScaleRequest {
|
8792
|
+
scale?: number;
|
8793
|
+
}
|
8794
|
+
|
8791
8795
|
export interface SetGeolocationOverrideRequest {
|
8792
8796
|
/**
|
8793
8797
|
* Mock latitude
|