@@ -122,7 +122,6 @@ def __set__(self, obj, value):
122122class BaseOptions (metaclass = ABCMeta ):
123123 """Base class for individual browser options."""
124124
125- # Creating _BaseOptions descriptors
126125 browser_version = _BaseOptionsDescriptor ("browserVersion" )
127126 """Gets and Sets the version of the browser.
128127
@@ -166,8 +165,9 @@ class BaseOptions(metaclass=ABCMeta):
166165 - Set
167166 - `None`
168167 """
168+
169169 accept_insecure_certs = _BaseOptionsDescriptor ("acceptInsecureCerts" )
170- """Gets and Set wheather the session accepts insecure certificates.
170+ """Gets and Set whether the session accepts insecure certificates.
171171
172172 Usage
173173 -----
@@ -189,7 +189,7 @@ class BaseOptions(metaclass=ABCMeta):
189189 """
190190
191191 strict_file_interactability = _BaseOptionsDescriptor ("strictFileInteractability" )
192- """Gets and Sets wheather session is about file interactiability .
192+ """Gets and Sets whether session is about file interactability .
193193
194194 Usage
195195 -----
@@ -231,7 +231,7 @@ class BaseOptions(metaclass=ABCMeta):
231231 - Set
232232 - `None`
233233 """
234- # Creating _PageLoadStrategy descriptor
234+
235235 page_load_strategy = _PageLoadStrategyDescriptor ("pageLoadStrategy" )
236236 """:Gets and Sets page load strategy, the default is "normal".
237237
@@ -253,7 +253,7 @@ class BaseOptions(metaclass=ABCMeta):
253253 - Set
254254 - `None`
255255 """
256- # Creating _UnHandledPromptBehavior descriptor
256+
257257 unhandled_prompt_behavior = _UnHandledPromptBehaviorDescriptor ("unhandledPromptBehavior" )
258258 """:Gets and Sets unhandled prompt behavior, the default is "dismiss and
259259 notify".
@@ -277,7 +277,6 @@ class BaseOptions(metaclass=ABCMeta):
277277 - `None`
278278 """
279279
280- # Creating _Timeouts descriptor
281280 timeouts = _TimeoutsDescriptor ("timeouts" )
282281 """:Gets and Sets implicit timeout, pageLoad timeout and script timeout if
283282 set (in milliseconds)
@@ -301,7 +300,6 @@ class BaseOptions(metaclass=ABCMeta):
301300 - `None`
302301 """
303302
304- # Creating _Proxy descriptor
305303 proxy = _ProxyDescriptor ("proxy" )
306304 """Sets and Gets Proxy.
307305
0 commit comments