@@ -163,266 +163,168 @@ class BaseOptions(metaclass=ABCMeta):
163163 """Gets and Sets the version of the browser.
164164
165165 Usage:
166- ------
167- - Get
168- - `self.browser_version`
169- - Set
170- - `self.browser_version` = `value`
166+ - Get: `self.browser_version`
167+ - Set: `self.browser_version = value`
171168
172- Parameters:
173- -----------
174- `value`: `str`
169+ Args:
170+ value: str
175171
176172 Returns:
177- --------
178- - Get
179- - `str`
180- - Set
181- - `None`
173+ str when getting, None when setting.
182174 """
183175
184176 platform_name = _BaseOptionsDescriptor ("platformName" )
185177 """Gets and Sets name of the platform.
186178
187179 Usage:
188- ------
189- - Get
190- - `self.platform_name`
191- - Set
192- - `self.platform_name` = `value`
180+ - Get: `self.platform_name`
181+ - Set: `self.platform_name = value`
193182
194- Parameters:
195- -----------
196- `value`: `str`
183+ Args:
184+ value: str
197185
198186 Returns:
199- --------
200- - Get
201- - `str`
202- - Set
203- - `None`
187+ str when getting, None when setting.
204188 """
205189
206190 accept_insecure_certs = _BaseOptionsDescriptor ("acceptInsecureCerts" )
207191 """Gets and Set whether the session accepts insecure certificates.
208192
209193 Usage:
210- ------
211- - Get
212- - `self.accept_insecure_certs`
213- - Set
214- - `self.accept_insecure_certs` = `value`
194+ - Get: `self.accept_insecure_certs`
195+ - Set: `self.accept_insecure_certs = value`
215196
216- Parameters:
217- -----------
218- `value`: `bool`
197+ Args:
198+ value: bool
219199
220200 Returns:
221- --------
222- - Get
223- - `bool`
224- - Set
225- - `None`
201+ bool when getting, None when setting.
226202 """
227203
228- strict_file_interactability = _BaseOptionsDescriptor ("strictFileInteractability" )
204+ strict_file_interactability : o = _BaseOptionsDescriptor ("strictFileInteractability" )
229205 """Gets and Sets whether session is about file interactability.
230206
231207 Usage:
232- ------
233- - Get
234- - `self.strict_file_interactability`
235- - Set
236- - `self.strict_file_interactability` = `value`
208+ - Get: `self.strict_file_interactability`
209+ - Set: `self.strict_file_interactability = value`
237210
238- Parameters:
239- -----------
240- `value`: `bool`
211+ Args:
212+ value: bool
241213
242214 Returns:
243- --------
244- - Get
245- - `bool`
246- - Set
247- - `None`
215+ bool when getting, None when setting.
248216 """
249217
250218 set_window_rect = _BaseOptionsDescriptor ("setWindowRect" )
251219 """Gets and Sets window size and position.
252220
253221 Usage:
254- ------
255- - Get
256- - `self.set_window_rect`
257- - Set
258- - `self.set_window_rect` = `value`
222+ - Get: `self.set_window_rect`
223+ - Set: `self.set_window_rect = value`
259224
260- Parameters:
261- -----------
262- `value`: `bool`
225+ Args:
226+ value: bool
263227
264228 Returns:
265- --------
266- - Get
267- - `bool`
268- - Set
269- - `None`
229+ bool when getting, None when setting.
270230 """
271231
272232 enable_bidi = _BaseOptionsDescriptor ("enableBidi" )
273233 """Gets and Set whether the session has WebDriverBiDi enabled.
274234
275235 Usage:
276- ------
277- - Get
278- - `self.enable_bidi`
279- - Set
280- - `self.enable_bidi` = `value`
236+ - Get: `self.enable_bidi`
237+ - Set: `self.enable_bidi = value`
281238
282- Parameters:
283- -----------
284- `value`: `bool`
239+ Args:
240+ value: bool
285241
286242 Returns:
287- --------
288- - Get
289- - `bool`
290- - Set
291- - `None`
243+ bool when getting, None when setting.
292244 """
293245
294246 page_load_strategy = _PageLoadStrategyDescriptor ("pageLoadStrategy" )
295- """: Gets and Sets page load strategy, the default is "normal".
247+ """Gets and Sets page load strategy, the default is "normal".
296248
297249 Usage:
298- ------
299- - Get
300- - `self.page_load_strategy`
301- - Set
302- - `self.page_load_strategy` = `value`
250+ - Get: `self.page_load_strategy`
251+ - Set: `self.page_load_strategy = value`
303252
304- Parameters:
305- -----------
306- `value`: `str`
253+ Args:
254+ value: str
307255
308256 Returns:
309- --------
310- - Get
311- - `str`
312- - Set
313- - `None`
257+ str when getting, None when setting.
314258 """
315259
316260 unhandled_prompt_behavior = _UnHandledPromptBehaviorDescriptor ("unhandledPromptBehavior" )
317- """:Gets and Sets unhandled prompt behavior, the default is "dismiss and
318- notify".
261+ """Gets and Sets unhandled prompt behavior, the default is "dismiss and notify".
319262
320263 Usage:
321- ------
322- - Get
323- - `self.unhandled_prompt_behavior`
324- - Set
325- - `self.unhandled_prompt_behavior` = `value`
264+ - Get: `self.unhandled_prompt_behavior`
265+ - Set: `self.unhandled_prompt_behavior = value`
326266
327- Parameters:
328- -----------
329- `value`: `str`
267+ Args:
268+ value: str
330269
331270 Returns:
332- --------
333- - Get
334- - `str`
335- - Set
336- - `None`
271+ str when getting, None when setting.
337272 """
338273
339274 timeouts = _TimeoutsDescriptor ("timeouts" )
340- """:Gets and Sets implicit timeout, pageLoad timeout and script timeout if
341- set (in milliseconds)
275+ """Gets and Sets implicit timeout, pageLoad timeout and script timeout if set (in milliseconds).
342276
343277 Usage:
344- ------
345- - Get
346- - `self.timeouts`
347- - Set
348- - `self.timeouts` = `value`
278+ - Get: `self.timeouts`
279+ - Set: `self.timeouts = value`
349280
350- Parameters:
351- -----------
352- `value`: `dict`
281+ Args:
282+ value: dict
353283
354284 Returns:
355- --------
356- - Get
357- - `dict`
358- - Set
359- - `None`
285+ dict when getting, None when setting.
360286 """
361287
362288 proxy = _ProxyDescriptor ("proxy" )
363289 """Sets and Gets Proxy.
364290
365291 Usage:
366- ------
367- - Get
368- - `self.proxy`
369- - Set
370- - `self.proxy` = `value`
292+ - Get: `self.proxy`
293+ - Set: `self.proxy = value`
371294
372- Parameters:
373- -----------
374- `value`: `Proxy`
295+ Args:
296+ value: Proxy
375297
376298 Returns:
377- --------
378- - Get
379- - `Proxy`
380- - Set
381- - `None`
299+ Proxy when getting, None when setting.
382300 """
383301
384302 enable_downloads = _BaseOptionsDescriptor ("se:downloadsEnabled" )
385303 """Gets and Sets whether session can download files.
386304
387305 Usage:
388- ------
389- - Get
390- - `self.enable_downloads`
391- - Set
392- - `self.enable_downloads` = `value`
306+ - Get: `self.enable_downloads`
307+ - Set: `self.enable_downloads = value`
393308
394- Parameters:
395- -----------
396- `value`: `bool`
309+ Args:
310+ value: bool
397311
398312 Returns:
399- --------
400- - Get
401- - `bool`
402- - Set
403- - `None`
313+ bool when getting, None when setting.
404314 """
405315
406316 web_socket_url = _BaseOptionsDescriptor ("webSocketUrl" )
407317 """Gets and Sets WebSocket URL.
408318
409319 Usage:
410- ------
411- - Get
412- - `self.web_socket_url`
413- - Set
414- - `self.web_socket_url` = `value`
320+ - Get: `self.web_socket_url`
321+ - Set: `self.web_socket_url = value`
415322
416- Parameters:
417- -----------
418- `value`: `str`
323+ Args:
324+ value: str
419325
420326 Returns:
421- --------
422- - Get
423- - `bool`
424- - Set
425- - `None`
327+ bool when getting, None when setting.
426328 """
427329
428330 def __init__ (self ) -> None :
0 commit comments