Finish fixing broken links
MODIFY
commands-yml/commands/device/interactions/is-locked.yml
commands-yml/commands/device/interactions/is-locked.yml
@@ -5,7 +5,7 @@ short_description: Check whether the device is locked or not
example_usage:
java:
|
- boolean isLocked = driver.isLocked();
+ boolean isLocked = driver.isDeviceLocked();
javascript_wd:
|
let isLocked = await driver.isLocked();
@@ -24,7 +24,7 @@ example_usage:
// TODO C# sample
client_docs:
- java: "https://appium.github.io/java-client/io/appium/java_client/android/LocksAndroidDevice.html#isLocked--"
+ java: "http://appium.github.io/java-client/io/appium/java_client/LocksDevice.html#isDeviceLocked--"
javascript_wdio: "http://webdriver.io/api/mobile/isLocked.html"
javascript_wd: "https://github.com/admc/wd/blob/master/lib/commands.js#L2407"
ruby: "https://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Device#device_locked%3F-instance_method"

MODIFY
commands-yml/commands/device/interactions/lock.yml
commands-yml/commands/device/interactions/lock.yml
@@ -29,7 +29,7 @@ example_usage:
// TODO C# sample
client_docs:
- java: "https://appium.github.io/java-client/io/appium/java_client/android/LocksAndroidDevice.html#lockDevice--"
+ java: "http://appium.github.io/java-client/io/appium/java_client/LocksDevice.html#lockDevice--"
python: "https://github.com/appium/python-client/blob/master/appium/webdriver/webdriver.py#L643"
javascript_wdio: "http://webdriver.io/api/mobile/lock.html"
javascript_wd: "https://github.com/admc/wd/blob/master/lib/commands.js#L2363"

MODIFY
commands-yml/commands/device/interactions/unlock.yml
commands-yml/commands/device/interactions/unlock.yml
@@ -30,7 +30,7 @@ example_usage:
// TODO C# sample
client_docs:
- java: "https://appium.github.io/java-client/io/appium/java_client/android/LocksAndroidDevice.html#unlockDevice---"
+ java: "http://appium.github.io/java-client/io/appium/java_client/LocksDevice.html#unlockDevice--"
javascript_wdio: "http://webdriver.io/api/mobile/unlock.html"
javascript_wd: "https://github.com/admc/wd/blob/master/lib/commands.js#L2386"
ruby: "https://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Device#unlock-instance_method"

MODIFY
commands-yml/commands/session/get.yml
commands-yml/commands/session/get.yml
@@ -27,7 +27,7 @@ example_usage:
// TODO C# sample
client_docs:
- java: "https://seleniumhq.github.io/selenium/docs/api/java/org/openqa/selenium/remote/server/DefaultDriverSessions.html#get-org.openqa.selenium.remote.SessionId-"
+ 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"
javascript_wdio: "http://webdriver.io/api/protocol/session.html"
javascript_wd: "https://github.com/admc/wd/blob/master/lib/commands.js#L227"

MODIFY
docs/en/commands/device/interactions/is-locked.md
docs/en/commands/device/interactions/is-locked.md
@@ -7,7 +7,7 @@ Check whether the device is locked or not
```java
// Java
-boolean isLocked = driver.isLocked();
+boolean isLocked = driver.isDeviceLocked();
```
@@ -64,7 +64,7 @@ let isLocked = await driver.isLocked();
|Language|Support|Documentation|
|--------|-------|-------------|
-|[Java](https://github.com/appium/java-client/releases/latest)| All | [appium.github.io](https://appium.github.io/java-client/io/appium/java_client/android/LocksAndroidDevice.html#isLocked--) |
+|[Java](https://github.com/appium/java-client/releases/latest)| All | [appium.github.io](http://appium.github.io/java-client/io/appium/java_client/LocksDevice.html#isDeviceLocked--) |
|[Python](https://github.com/appium/python-client/releases/latest)| All | |
|[Javascript (WebdriverIO)](http://webdriver.io/index.html)| All | [webdriver.io](http://webdriver.io/api/mobile/isLocked.html) |
|[Javascript (WD)](https://github.com/admc/wd/releases/latest)| All | [github.com](https://github.com/admc/wd/blob/master/lib/commands.js#L2407) |

MODIFY
docs/en/commands/device/interactions/lock.md
docs/en/commands/device/interactions/lock.md
@@ -67,7 +67,7 @@ $driver->lock(5);
|Language|Support|Documentation|
|--------|-------|-------------|
-|[Java](https://github.com/appium/java-client/releases/latest)| All | [appium.github.io](https://appium.github.io/java-client/io/appium/java_client/android/LocksAndroidDevice.html#lockDevice--) |
+|[Java](https://github.com/appium/java-client/releases/latest)| All | [appium.github.io](http://appium.github.io/java-client/io/appium/java_client/LocksDevice.html#lockDevice--) |
|[Python](https://github.com/appium/python-client/releases/latest)| All | [github.com](https://github.com/appium/python-client/blob/master/appium/webdriver/webdriver.py#L643) |
|[Javascript (WebdriverIO)](http://webdriver.io/index.html)| All | [webdriver.io](http://webdriver.io/api/mobile/lock.html) |
|[Javascript (WD)](https://github.com/admc/wd/releases/latest)| All | [github.com](https://github.com/admc/wd/blob/master/lib/commands.js#L2363) |

MODIFY
docs/en/commands/device/interactions/unlock.md
docs/en/commands/device/interactions/unlock.md
@@ -70,7 +70,7 @@ await driver.unlock();
|Language|Support|Documentation|
|--------|-------|-------------|
-|[Java](https://github.com/appium/java-client/releases/latest)| All | [appium.github.io](https://appium.github.io/java-client/io/appium/java_client/android/LocksAndroidDevice.html#unlockDevice---) |
+|[Java](https://github.com/appium/java-client/releases/latest)| All | [appium.github.io](http://appium.github.io/java-client/io/appium/java_client/LocksDevice.html#unlockDevice--) |
|[Python](https://github.com/appium/python-client/releases/latest)| All | |
|[Javascript (WebdriverIO)](http://webdriver.io/index.html)| All | [webdriver.io](http://webdriver.io/api/mobile/unlock.html) |
|[Javascript (WD)](https://github.com/admc/wd/releases/latest)| All | [github.com](https://github.com/admc/wd/blob/master/lib/commands.js#L2386) |

MODIFY
docs/en/commands/session/get.md
docs/en/commands/session/get.md
@@ -66,7 +66,7 @@ let caps = await driver.sessionCapabilities('c8db88a0-47a6-47a1-802d-164d746c06a
|Language|Support|Documentation|
|--------|-------|-------------|
-|[Java](https://github.com/appium/java-client/releases/latest)| All | [seleniumhq.github.io](https://seleniumhq.github.io/selenium/docs/api/java/org/openqa/selenium/remote/server/DefaultDriverSessions.html#get-org.openqa.selenium.remote.SessionId-) |
+|[Java](https://github.com/appium/java-client/releases/latest)| All | [seleniumhq.github.io](https://seleniumhq.github.io/selenium/docs/api/java/org/openqa/selenium/remote/server/ActiveSessions.html#get-org.openqa.selenium.remote.SessionId-) |
|[Python](https://github.com/appium/python-client/releases/latest)| All | [selenium-python.readthedocs.io](http://selenium-python.readthedocs.io/api.html#selenium.webdriver.remote.webdriver.WebDriver.desired_capabilities) |
|[Javascript (WebdriverIO)](http://webdriver.io/index.html)| All | [webdriver.io](http://webdriver.io/api/protocol/session.html) |
|[Javascript (WD)](https://github.com/admc/wd/releases/latest)| All | [github.com](https://github.com/admc/wd/blob/master/lib/commands.js#L227) |

Finish fixing broken links (#10779)