@@ -27,9 +27,9 @@ class ElementScrollBehavior(Enum):
2727
2828
2929class _IeOptionsDescriptor :
30- """_IeOptionsDescriptor is an implementation of Descriptor Protocol:
30+ """_IeOptionsDescriptor is an implementation of Descriptor Protocol.
3131
32- : Any look-up or assignment to the below attributes in `Options` class will be intercepted
32+ Any look-up or assignment to the below attributes in `Options` class will be intercepted
3333 by `__get__` and `__set__` method respectively.
3434
3535 - `browser_attach_timeout`
@@ -50,13 +50,15 @@ class _IeOptionsDescriptor:
5050 - `attach_to_edge_chrome`
5151 - `edge_executable_path`
5252
53+ When an attribute lookup happens:
5354
54- : When an attribute lookup happens,
5555 Example:
5656 `self. browser_attach_timeout`
5757 `__get__` method does a dictionary look up in the dictionary `_options` in `Options` class
5858 and returns the value of key `browserAttachTimeout`
59- : When an attribute assignment happens,
59+
60+ When an attribute assignment happens:
61+
6062 Example:
6163 `self.browser_attach_timeout` = 30
6264 `__set__` method sets/updates the value of the key `browserAttachTimeout` in `_options`
@@ -368,20 +370,26 @@ def __init__(self) -> None:
368370
369371 @property
370372 def options (self ) -> dict :
371- """:Returns: A dictionary of browser options."""
373+ """
374+ Returns:
375+ A dictionary of browser options.
376+ """
372377 return self ._options
373378
374379 @property
375380 def additional_options (self ) -> dict :
376- """:Returns: The additional options."""
381+ """
382+ Returns:
383+ The additional options.
384+ """
377385 return self ._additional
378386
379387 def add_additional_option (self , name : str , value ) -> None :
380388 """Adds an additional option not yet added as a safe option for IE.
381389
382- : Args:
383- - name: name of the option to add
384- - value: value of the option to add
390+ Args:
391+ name: name of the option to add
392+ value: value of the option to add
385393 """
386394 self ._additional [name ] = value
387395
0 commit comments