docs: fix spaces and follow the same path
MODIFY
commands-yml/commands/session/create.yml
commands-yml/commands/session/create.yml
@@ -31,7 +31,7 @@ example_usage:
'automationName': 'UiAutomator2',
'app': PATH('/path/to/app')
}
- self.driver = webdriver.Remote('http://127.0.0.1:4723', desired_caps)
+ self.driver = webdriver.Remote('http://127.0.0.1:4723/wd/hub', desired_caps)
javascript_wd:
|
let driver = await wd.promiseChainRemote({
@@ -85,7 +85,7 @@ example_usage:
appiumOptions.AddAdditionalCapability("appPackage", "com.instagram.android");
appiumOptions.AddAdditionalCapability("appActivity", "com.instagram.android.activity.MainTabActivity");
- AndroidDriver<AndroidElement> driver = new AndroidDriver<AndroidElement>(new Uri("http://127.0.0.1:4723/"), appiumOptions);
+ AndroidDriver<AndroidElement> driver = new AndroidDriver<AndroidElement>(new Uri("http://127.0.0.1:4723/wd/hub"), appiumOptions);
client_docs:
java: "https://seleniumhq.github.io/selenium/docs/api/java/org/openqa/selenium/remote/server/DefaultSession.html#createSession-org.openqa.selenium.remote.server.DriverFactory-org.openqa.selenium.remote.server.Clock-org.openqa.selenium.remote.SessionId-org.openqa.selenium.Capabilities-"

docs: fix spaces and follow the same path (#13971)