I’m using the appium_lib gem, and within it are several endpoint methods that are available for use to interact with the device. I’m trying to use set_immediate_value, but it crashes with the following error:
Selenium::WebDriver::Error::UnknownError: ERROR running Appium command: invalid json
Here’s my code snippet:
driver.set_immediate_value email_field, “#{username}”
…
def email_field
apm.driver.driver.find_element(:accessibility_id, ‘Email Field’)
end
The driver is able to find the email_field element fine, but crashes when executing set_immediate_value.