@@ -191,11 +191,13 @@ def grant_permissions(
191191 browser_context_id : typing .Optional ['target.BrowserContextID' ] = None
192192 ) -> typing .Generator [T_JSON_DICT ,T_JSON_DICT ,None ]:
193193 '''
194+ **EXPERIMENTAL**
195+
194196 Grant specific permissions to the given origin and reject all others.
195197
196198 :param origin:
197199 :param permissions:
198- :param browser_context_id: BrowserContext to override permissions. When omitted, default browser context is used.
200+ :param browser_context_id: *(Optional)* BrowserContext to override permissions. When omitted, default browser context is used.
199201 '''
200202 params : T_JSON_DICT = dict ()
201203 params ['origin' ] = origin
@@ -213,9 +215,11 @@ def reset_permissions(
213215 browser_context_id : typing .Optional ['target.BrowserContextID' ] = None
214216 ) -> typing .Generator [T_JSON_DICT ,T_JSON_DICT ,None ]:
215217 '''
218+ **EXPERIMENTAL**
219+
216220 Reset all permission management for all origins.
217221
218- :param browser_context_id: BrowserContext to reset permissions. When omitted, default browser context is used.
222+ :param browser_context_id: *(Optional)* BrowserContext to reset permissions. When omitted, default browser context is used.
219223 '''
220224 params : T_JSON_DICT = dict ()
221225 if browser_context_id is not None :
@@ -239,6 +243,8 @@ def close() -> typing.Generator[T_JSON_DICT,T_JSON_DICT,None]:
239243
240244def crash () -> typing .Generator [T_JSON_DICT ,T_JSON_DICT ,None ]:
241245 '''
246+ **EXPERIMENTAL**
247+
242248 Crashes browser on the main thread.
243249 '''
244250 cmd_dict : T_JSON_DICT = {
@@ -249,6 +255,8 @@ def crash() -> typing.Generator[T_JSON_DICT,T_JSON_DICT,None]:
249255
250256def crash_gpu_process () -> typing .Generator [T_JSON_DICT ,T_JSON_DICT ,None ]:
251257 '''
258+ **EXPERIMENTAL**
259+
252260 Crashes GPU process.
253261 '''
254262 cmd_dict : T_JSON_DICT = {
@@ -261,12 +269,13 @@ def get_version() -> typing.Generator[T_JSON_DICT,T_JSON_DICT,typing.Tuple[str,
261269 '''
262270 Returns version information.
263271
264- :returns: a tuple with the following items:
265- 0. protocolVersion: Protocol version.
266- 1. product: Product name.
267- 2. revision: Product revision.
268- 3. userAgent: User-Agent.
269- 4. jsVersion: V8 version.
272+ :returns: A tuple with the following items:
273+
274+ 1. **protocolVersion** - Protocol version.
275+ 2. **product** - Product name.
276+ 3. **revision** - Product revision.
277+ 4. **userAgent** - User-Agent.
278+ 5. **jsVersion** - V8 version.
270279 '''
271280 cmd_dict : T_JSON_DICT = {
272281 'method' : 'Browser.getVersion' ,
@@ -283,6 +292,8 @@ def get_version() -> typing.Generator[T_JSON_DICT,T_JSON_DICT,typing.Tuple[str,
283292
284293def get_browser_command_line () -> typing .Generator [T_JSON_DICT ,T_JSON_DICT ,typing .List [str ]]:
285294 '''
295+ **EXPERIMENTAL**
296+
286297 Returns the command line switches for the browser process if, and only if
287298 --enable-automation is on the commandline.
288299
@@ -300,10 +311,12 @@ def get_histograms(
300311 delta : typing .Optional [bool ] = None
301312 ) -> typing .Generator [T_JSON_DICT ,T_JSON_DICT ,typing .List ['Histogram' ]]:
302313 '''
314+ **EXPERIMENTAL**
315+
303316 Get Chrome histograms.
304317
305- :param query: Requested substring in name. Only histograms which have query as a substring in their name are extracted. An empty or absent query returns all histograms.
306- :param delta: If true, retrieve delta since last call.
318+ :param query: *(Optional)* Requested substring in name. Only histograms which have query as a substring in their name are extracted. An empty or absent query returns all histograms.
319+ :param delta: *(Optional)* If true, retrieve delta since last call.
307320 :returns: Histograms.
308321 '''
309322 params : T_JSON_DICT = dict ()
@@ -324,10 +337,12 @@ def get_histogram(
324337 delta : typing .Optional [bool ] = None
325338 ) -> typing .Generator [T_JSON_DICT ,T_JSON_DICT ,'Histogram' ]:
326339 '''
340+ **EXPERIMENTAL**
341+
327342 Get a Chrome histogram by name.
328343
329344 :param name: Requested histogram name.
330- :param delta: If true, retrieve delta since last call.
345+ :param delta: *(Optional)* If true, retrieve delta since last call.
331346 :returns: Histogram.
332347 '''
333348 params : T_JSON_DICT = dict ()
@@ -346,6 +361,8 @@ def get_window_bounds(
346361 window_id : 'WindowID'
347362 ) -> typing .Generator [T_JSON_DICT ,T_JSON_DICT ,'Bounds' ]:
348363 '''
364+ **EXPERIMENTAL**
365+
349366 Get position and size of the browser window.
350367
351368 :param window_id: Browser window id.
@@ -366,12 +383,15 @@ def get_window_for_target(
366383 target_id : typing .Optional ['target.TargetID' ] = None
367384 ) -> typing .Generator [T_JSON_DICT ,T_JSON_DICT ,typing .Tuple ['WindowID' , 'Bounds' ]]:
368385 '''
386+ **EXPERIMENTAL**
387+
369388 Get the browser window that contains the devtools target.
370389
371- :param target_id: Devtools agent host id. If called as a part of the session, associated targetId is used.
372- :returns: a tuple with the following items:
373- 0. windowId: Browser window id.
374- 1. bounds: Bounds information of the window. When window state is 'minimized', the restored window
390+ :param target_id: *(Optional)* Devtools agent host id. If called as a part of the session, associated targetId is used.
391+ :returns: A tuple with the following items:
392+
393+ 1. **windowId** - Browser window id.
394+ 2. **bounds** - Bounds information of the window. When window state is 'minimized', the restored window
375395 position and size are returned.
376396 '''
377397 params : T_JSON_DICT = dict ()
@@ -393,6 +413,8 @@ def set_window_bounds(
393413 bounds : 'Bounds'
394414 ) -> typing .Generator [T_JSON_DICT ,T_JSON_DICT ,None ]:
395415 '''
416+ **EXPERIMENTAL**
417+
396418 Set position and/or size of the browser window.
397419
398420 :param window_id: Browser window id.
@@ -413,10 +435,12 @@ def set_dock_tile(
413435 image : typing .Optional [str ] = None
414436 ) -> typing .Generator [T_JSON_DICT ,T_JSON_DICT ,None ]:
415437 '''
438+ **EXPERIMENTAL**
439+
416440 Set dock tile details, platform-specific.
417441
418- :param badge_label:
419- :param image: Png encoded image.
442+ :param badge_label: *(Optional)*
443+ :param image: *(Optional)* Png encoded image.
420444 '''
421445 params : T_JSON_DICT = dict ()
422446 if badge_label is not None :
0 commit comments