Fix settings docs
MODIFY
commands-yml/commands/session/settings/get-settings.yml
commands-yml/commands/session/settings/get-settings.yml
@@ -7,15 +7,15 @@ example_usage:
Map<String, Object> settings = driver.getSettings();
javascript_wd:
|
- await driver.settings(settings);
+ await driver.settings();
javascript_wdio:
|
- let settings = driver.settings(settings);
+ let settings = driver.settings();
client_docs:
java: "http://appium.github.io/java-client/io/appium/java_client/HasSettings.html#getSettings--"
javascript_wdio: "http://webdriver.io/api/mobile/settings.html"
- javascript_wd: "https://github.com/admc/wd/blob/master/lib/commands.js#L3032"
+ javascript_wd: "https://github.com/admc/wd/blob/master/lib/commands.js#L3018"
# Driver support by platform
driver_support:

MODIFY
commands-yml/commands/session/settings/update-settings.yml
commands-yml/commands/session/settings/update-settings.yml
@@ -7,15 +7,15 @@ example_usage:
driver.setSetting(Setting.WAIT_FOR_IDLE_TIMEOUT, Duration.ofSeconds(5));
javascript_wd:
|
- let settings = await driver.settings("settings");
+ await driver.updateSettings({nativeWebTap: true});
javascript_wdio:
|
- let settings = driver.settings("settings");
+ driver.settings({nativeWebTap: true});
client_docs:
java: "http://appium.github.io/java-client/io/appium/java_client/HasSettings.html#setSetting-io.appium.java_client.Setting-java.lang.Object-"
javascript_wdio: "http://webdriver.io/api/mobile/settings.html"
- javascript_wd: "https://github.com/admc/wd/blob/master/lib/commands.js#L3018"
+ javascript_wd: "https://github.com/admc/wd/blob/master/lib/commands.js#L3032"
# Driver support by platform
driver_support:

MODIFY
docs/en/commands/session/settings/get-settings.md
docs/en/commands/session/settings/get-settings.md
@@ -16,12 +16,12 @@ Map<String, Object> settings = driver.getSettings();
```javascript
// Javascript
// webdriver.io example
-let settings = driver.settings(settings);
+let settings = driver.settings();
// wd example
-await driver.settings(settings);
+await driver.settings();
```
@@ -59,7 +59,7 @@ await driver.settings(settings);
|[Java](https://github.com/appium/java-client/releases/latest)| All | [appium.github.io](http://appium.github.io/java-client/io/appium/java_client/HasSettings.html#getSettings--) |
|[Python](https://github.com/appium/python-client/releases/latest)| None | |
|[Javascript (WebdriverIO)](http://webdriver.io/index.html)| All | [webdriver.io](http://webdriver.io/api/mobile/settings.html) |
-|[Javascript (WD)](https://github.com/admc/wd/releases/latest)| All | [github.com](https://github.com/admc/wd/blob/master/lib/commands.js#L3032) |
+|[Javascript (WD)](https://github.com/admc/wd/releases/latest)| All | [github.com](https://github.com/admc/wd/blob/master/lib/commands.js#L3018) |
|[Ruby](https://github.com/appium/ruby_lib/releases/latest)| None | |
|[PHP](https://github.com/appium/php-client/releases/latest)| None | |
|[C#](https://github.com/appium/appium-dotnet-driver/releases/latest)| None | |

MODIFY
docs/en/commands/session/settings/update-settings.md
docs/en/commands/session/settings/update-settings.md
@@ -16,12 +16,12 @@ driver.setSetting(Setting.WAIT_FOR_IDLE_TIMEOUT, Duration.ofSeconds(5));
```javascript
// Javascript
// webdriver.io example
-let settings = driver.settings("settings");
+driver.settings({nativeWebTap: true});
// wd example
-let settings = await driver.settings("settings");
+await driver.updateSettings({nativeWebTap: true});
```
@@ -59,7 +59,7 @@ let settings = await driver.settings("settings");
|[Java](https://github.com/appium/java-client/releases/latest)| All | [appium.github.io](http://appium.github.io/java-client/io/appium/java_client/HasSettings.html#setSetting-io.appium.java_client.Setting-java.lang.Object-) |
|[Python](https://github.com/appium/python-client/releases/latest)| None | |
|[Javascript (WebdriverIO)](http://webdriver.io/index.html)| All | [webdriver.io](http://webdriver.io/api/mobile/settings.html) |
-|[Javascript (WD)](https://github.com/admc/wd/releases/latest)| All | [github.com](https://github.com/admc/wd/blob/master/lib/commands.js#L3018) |
+|[Javascript (WD)](https://github.com/admc/wd/releases/latest)| All | [github.com](https://github.com/admc/wd/blob/master/lib/commands.js#L3032) |
|[Ruby](https://github.com/appium/ruby_lib/releases/latest)| None | |
|[PHP](https://github.com/appium/php-client/releases/latest)| None | |
|[C#](https://github.com/appium/appium-dotnet-driver/releases/latest)| None | |

Fix settings docs (#9657)