-
Notifications
You must be signed in to change notification settings - Fork 572
Description
in my script:
...
textfields = self.driver.find_elements_by_class_name("android.widget.EditText")
self.driver.set_value(textfields[0],"abcd")
error msg:
WebDriverException: Message: u"ERROR running Appium command: Object [object Object] has no method 'setValueImmediate'"
appium log:
debug: Request received with params: {"sessionId":"e54cee4e-efa2-ecfa-210b-ba615feee53f","elementId":"bc02b4b5-4779-124d-0c44-2c71a5dbf247","value":["abcd"]}
TypeError: Object [object Object] has no method 'setValueImmediate'
at exports.setValueImmediate (/Applications/Appium.app/Contents/Resources/node_modules/appium/lib/server/controller.js:933:16)
at callbacks (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/express/lib/router/index.js:164:37)
at param (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/express/lib/router/index.js:138:11)
at param (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/express/lib/router/index.js:135:11)
at param (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/express/lib/router/index.js:135:11)
at pass (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/express/lib/router/index.js:145:5)
at nextRoute (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/express/lib/router/index.js:100:7)
at callbacks (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/express/lib/router/index.js:167:11)
at exports.sessionBeforeFilter (/Applications/Appium.app/Contents/Resources/node_modules/appium/lib/server/controller.js:56:5)
at callbacks (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/express/lib/router/index.js:164:37)
info: Shutting down appium session...