@@ -155,19 +155,19 @@ class BaseOptions(metaclass=ABCMeta):
155
155
browser_version = _BaseOptionsDescriptor ("browserVersion" )
156
156
"""Gets and Sets the version of the browser.
157
157
158
- Usage
159
- -----
158
+ Usage:
159
+ ------
160
160
- Get
161
161
- `self.browser_version`
162
162
- Set
163
163
- `self.browser_version` = `value`
164
164
165
- Parameters
166
- ----------
165
+ Parameters:
166
+ -----------
167
167
`value`: `str`
168
168
169
- Returns
170
- -------
169
+ Returns:
170
+ --------
171
171
- Get
172
172
- `str`
173
173
- Set
@@ -177,19 +177,19 @@ class BaseOptions(metaclass=ABCMeta):
177
177
platform_name = _BaseOptionsDescriptor ("platformName" )
178
178
"""Gets and Sets name of the platform.
179
179
180
- Usage
181
- -----
180
+ Usage:
181
+ ------
182
182
- Get
183
183
- `self.platform_name`
184
184
- Set
185
185
- `self.platform_name` = `value`
186
186
187
- Parameters
188
- ----------
187
+ Parameters:
188
+ -----------
189
189
`value`: `str`
190
190
191
- Returns
192
- -------
191
+ Returns:
192
+ --------
193
193
- Get
194
194
- `str`
195
195
- Set
@@ -199,19 +199,19 @@ class BaseOptions(metaclass=ABCMeta):
199
199
accept_insecure_certs = _BaseOptionsDescriptor ("acceptInsecureCerts" )
200
200
"""Gets and Set whether the session accepts insecure certificates.
201
201
202
- Usage
203
- -----
202
+ Usage:
203
+ ------
204
204
- Get
205
205
- `self.accept_insecure_certs`
206
206
- Set
207
207
- `self.accept_insecure_certs` = `value`
208
208
209
- Parameters
210
- ----------
209
+ Parameters:
210
+ -----------
211
211
`value`: `bool`
212
212
213
- Returns
214
- -------
213
+ Returns:
214
+ --------
215
215
- Get
216
216
- `bool`
217
217
- Set
@@ -221,19 +221,19 @@ class BaseOptions(metaclass=ABCMeta):
221
221
strict_file_interactability = _BaseOptionsDescriptor ("strictFileInteractability" )
222
222
"""Gets and Sets whether session is about file interactability.
223
223
224
- Usage
225
- -----
224
+ Usage:
225
+ ------
226
226
- Get
227
227
- `self.strict_file_interactability`
228
228
- Set
229
229
- `self.strict_file_interactability` = `value`
230
230
231
- Parameters
232
- ----------
231
+ Parameters:
232
+ -----------
233
233
`value`: `bool`
234
234
235
- Returns
236
- -------
235
+ Returns:
236
+ --------
237
237
- Get
238
238
- `bool`
239
239
- Set
@@ -243,19 +243,19 @@ class BaseOptions(metaclass=ABCMeta):
243
243
set_window_rect = _BaseOptionsDescriptor ("setWindowRect" )
244
244
"""Gets and Sets window size and position.
245
245
246
- Usage
247
- -----
246
+ Usage:
247
+ ------
248
248
- Get
249
249
- `self.set_window_rect`
250
250
- Set
251
251
- `self.set_window_rect` = `value`
252
252
253
- Parameters
254
- ----------
253
+ Parameters:
254
+ -----------
255
255
`value`: `bool`
256
256
257
- Returns
258
- -------
257
+ Returns:
258
+ --------
259
259
- Get
260
260
- `bool`
261
261
- Set
@@ -265,63 +265,41 @@ class BaseOptions(metaclass=ABCMeta):
265
265
enable_bidi = _BaseOptionsDescriptor ("enableBidi" )
266
266
"""Gets and Set whether the session has WebDriverBiDi enabled.
267
267
268
- Usage
269
- -----
268
+ Usage:
269
+ ------
270
270
- Get
271
271
- `self.enable_bidi`
272
272
- Set
273
273
- `self.enable_bidi` = `value`
274
274
275
- Parameters
276
- ----------
275
+ Parameters:
276
+ -----------
277
277
`value`: `bool`
278
278
279
- Returns
280
- -------
279
+ Returns:
280
+ --------
281
281
- Get
282
282
- `bool`
283
283
- Set
284
284
- `None`
285
285
"""
286
286
287
- web_socket_url = _BaseOptionsDescriptor ("webSocketUrl" )
288
- """Gets and Set whether the session accepts insecure certificates.
289
-
290
- Usage
291
- -----
292
- - Get
293
- - `self.web_socket_url`
294
- - Set
295
- - `self.web_socket_url` = `value`
296
-
297
- Parameters
298
- ----------
299
- `value`: `str`
300
-
301
- Returns
302
- -------
303
- - Get
304
- - `str` or `None`
305
- - Set
306
- - `None`
307
- """
308
-
309
287
page_load_strategy = _PageLoadStrategyDescriptor ("pageLoadStrategy" )
310
288
""":Gets and Sets page load strategy, the default is "normal".
311
289
312
- Usage
313
- -----
290
+ Usage:
291
+ ------
314
292
- Get
315
293
- `self.page_load_strategy`
316
294
- Set
317
295
- `self.page_load_strategy` = `value`
318
296
319
- Parameters
320
- ----------
297
+ Parameters:
298
+ -----------
321
299
`value`: `str`
322
300
323
- Returns
324
- -------
301
+ Returns:
302
+ --------
325
303
- Get
326
304
- `str`
327
305
- Set
@@ -332,19 +310,19 @@ class BaseOptions(metaclass=ABCMeta):
332
310
""":Gets and Sets unhandled prompt behavior, the default is "dismiss and
333
311
notify".
334
312
335
- Usage
336
- -----
313
+ Usage:
314
+ ------
337
315
- Get
338
316
- `self.unhandled_prompt_behavior`
339
317
- Set
340
318
- `self.unhandled_prompt_behavior` = `value`
341
319
342
- Parameters
343
- ----------
320
+ Parameters:
321
+ -----------
344
322
`value`: `str`
345
323
346
- Returns
347
- -------
324
+ Returns:
325
+ --------
348
326
- Get
349
327
- `str`
350
328
- Set
@@ -355,19 +333,19 @@ class BaseOptions(metaclass=ABCMeta):
355
333
""":Gets and Sets implicit timeout, pageLoad timeout and script timeout if
356
334
set (in milliseconds)
357
335
358
- Usage
359
- -----
336
+ Usage:
337
+ ------
360
338
- Get
361
339
- `self.timeouts`
362
340
- Set
363
341
- `self.timeouts` = `value`
364
342
365
- Parameters
366
- ----------
343
+ Parameters:
344
+ -----------
367
345
`value`: `dict`
368
346
369
- Returns
370
- -------
347
+ Returns:
348
+ --------
371
349
- Get
372
350
- `dict`
373
351
- Set
@@ -377,19 +355,19 @@ class BaseOptions(metaclass=ABCMeta):
377
355
proxy = _ProxyDescriptor ("proxy" )
378
356
"""Sets and Gets Proxy.
379
357
380
- Usage
381
- -----
358
+ Usage:
359
+ ------
382
360
- Get
383
361
- `self.proxy`
384
362
- Set
385
363
- `self.proxy` = `value`
386
364
387
- Parameters
388
- ----------
365
+ Parameters:
366
+ -----------
389
367
`value`: `Proxy`
390
368
391
- Returns
392
- -------
369
+ Returns:
370
+ --------
393
371
- Get
394
372
- `Proxy`
395
373
- Set
@@ -399,19 +377,19 @@ class BaseOptions(metaclass=ABCMeta):
399
377
enable_downloads = _BaseOptionsDescriptor ("se:downloadsEnabled" )
400
378
"""Gets and Sets whether session can download files.
401
379
402
- Usage
403
- -----
380
+ Usage:
381
+ ------
404
382
- Get
405
383
- `self.enable_downloads`
406
384
- Set
407
385
- `self.enable_downloads` = `value`
408
386
409
- Parameters
410
- ----------
387
+ Parameters:
388
+ -----------
411
389
`value`: `bool`
412
390
413
- Returns
414
- -------
391
+ Returns:
392
+ --------
415
393
- Get
416
394
- `bool`
417
395
- Set
@@ -421,19 +399,19 @@ class BaseOptions(metaclass=ABCMeta):
421
399
web_socket_url = _BaseOptionsDescriptor ("webSocketUrl" )
422
400
"""Gets and Sets WebSocket URL.
423
401
424
- Usage
425
- -----
402
+ Usage:
403
+ ------
426
404
- Get
427
405
- `self.web_socket_url`
428
406
- Set
429
407
- `self.web_socket_url` = `value`
430
408
431
- Parameters
432
- ----------
433
- `value`: `bool `
409
+ Parameters:
410
+ -----------
411
+ `value`: `str `
434
412
435
- Returns
436
- -------
413
+ Returns:
414
+ --------
437
415
- Get
438
416
- `bool`
439
417
- Set
0 commit comments