docs: update python get
MODIFY
commands-yml/commands/session/get.yml
commands-yml/commands/session/get.yml
@@ -8,7 +8,7 @@ example_usage:
Map<String, Object> caps = driver.getSessionDetails();
python:
|
- desired_caps = self.driver.desired_capabilities
+ desired_caps = self.driver.session
javascript_wd:
|
let caps = await driver.sessionCapabilities();
@@ -30,7 +30,7 @@ example_usage:
client_docs:
java: "https://seleniumhq.github.io/selenium/docs/api/java/org/openqa/selenium/remote/server/ActiveSessions.html#get-org.openqa.selenium.remote.SessionId-"
- python: "http://selenium-python.readthedocs.io/api.html#selenium.webdriver.remote.webdriver.WebDriver.desired_capabilities"
+ python: "https://appium.github.io/python-client-sphinx/webdriver.extensions.html#webdriver.extensions.session.Session.session"
javascript_wdio: "https://webdriver.io/docs/api/jsonwp.html#getsession"
javascript_wd: "https://github.com/admc/wd/blob/master/lib/commands.js#L227"
ruby: "https://www.rubydoc.info/gems/selenium-webdriver/Selenium%2FWebDriver%2FRemote%2FOSS%2FBridge:session_capabilities"

docs: update python get (#14716)