Skip to content

Commit 9160de5

Browse files
Fix WebDriver.start_session docstring to remove incorrect arguments (#9021)
Co-authored-by: David Burns <[email protected]>
1 parent 1b687b3 commit 9160de5

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

py/selenium/webdriver/remote/webdriver.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -281,10 +281,7 @@ def start_session(self, capabilities, browser_profile=None):
281281
Creates a new session with the desired capabilities.
282282
283283
:Args:
284-
- browser_name - The name of the browser to request.
285-
- version - Which browser version to request.
286-
- platform - Which platform to request the browser on.
287-
- javascript_enabled - Whether the new session should support JavaScript.
284+
- capabilities - a capabilities dict to start the session with.
288285
- browser_profile - A selenium.webdriver.firefox.firefox_profile.FirefoxProfile object. Only used if Firefox is requested.
289286
"""
290287
if not isinstance(capabilities, dict):

0 commit comments

Comments
 (0)