Skip to content

Commit 0d04d2e

Browse files
committed
[py] fix misspellings and spacing
1 parent 7bc8706 commit 0d04d2e

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

py/selenium/webdriver/common/options.py

+5-7
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,6 @@ def __set__(self, obj, value):
122122
class 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

Comments
 (0)