@@ -122,7 +122,6 @@ def __set__(self, obj, value):
122
122
class BaseOptions (metaclass = ABCMeta ):
123
123
"""Base class for individual browser options."""
124
124
125
- # Creating _BaseOptions descriptors
126
125
browser_version = _BaseOptionsDescriptor ("browserVersion" )
127
126
"""Gets and Sets the version of the browser.
128
127
@@ -166,8 +165,9 @@ class BaseOptions(metaclass=ABCMeta):
166
165
- Set
167
166
- `None`
168
167
"""
168
+
169
169
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.
171
171
172
172
Usage
173
173
-----
@@ -189,7 +189,7 @@ class BaseOptions(metaclass=ABCMeta):
189
189
"""
190
190
191
191
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 .
193
193
194
194
Usage
195
195
-----
@@ -231,7 +231,7 @@ class BaseOptions(metaclass=ABCMeta):
231
231
- Set
232
232
- `None`
233
233
"""
234
- # Creating _PageLoadStrategy descriptor
234
+
235
235
page_load_strategy = _PageLoadStrategyDescriptor ("pageLoadStrategy" )
236
236
""":Gets and Sets page load strategy, the default is "normal".
237
237
@@ -253,7 +253,7 @@ class BaseOptions(metaclass=ABCMeta):
253
253
- Set
254
254
- `None`
255
255
"""
256
- # Creating _UnHandledPromptBehavior descriptor
256
+
257
257
unhandled_prompt_behavior = _UnHandledPromptBehaviorDescriptor ("unhandledPromptBehavior" )
258
258
""":Gets and Sets unhandled prompt behavior, the default is "dismiss and
259
259
notify".
@@ -277,7 +277,6 @@ class BaseOptions(metaclass=ABCMeta):
277
277
- `None`
278
278
"""
279
279
280
- # Creating _Timeouts descriptor
281
280
timeouts = _TimeoutsDescriptor ("timeouts" )
282
281
""":Gets and Sets implicit timeout, pageLoad timeout and script timeout if
283
282
set (in milliseconds)
@@ -301,7 +300,6 @@ class BaseOptions(metaclass=ABCMeta):
301
300
- `None`
302
301
"""
303
302
304
- # Creating _Proxy descriptor
305
303
proxy = _ProxyDescriptor ("proxy" )
306
304
"""Sets and Gets Proxy.
307
305
0 commit comments