Add back set_value and remove deprecated mark - #919
easyteacher wants to merge 1 commit into
Conversation
Otherwise there is no way to change a slider's value in Appium tests.
|
|
Have you tried |
|
Looks like the official webdriver does not really use set_value. But in selenium-webdriver-at-spi send_keys and set_values map to "Send key input" and "atspi.valueElement.currentValue = value", so they are different. |
|
The idea is to only have send_keys. You can still have non-standard api if it is used with your particular driver by adding an extension method to the driver. Check as an example |
|
Nice, didn't know that. Thanks for pointing out. |
Otherwise there is no way to change a slider's value in Appium tests.
This partially reverts #909
Ref: https://invent.kde.org/sdk/selenium-webdriver-at-spi/-/blob/f17f6fbbe7175e96ceb89ea3426901875d20228a/selenium-webdriver-at-spi.py#L735