Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

send_keys -> Message: Parameters were incorrect. We wanted {"required":["value"]} and you sent ["text","sessionId","id","value"] #162

Closed
RudolfVonKrugstein opened this Issue Apr 11, 2017 · 23 comments

Comments

Projects
None yet
@RudolfVonKrugstein
Copy link

RudolfVonKrugstein commented Apr 11, 2017

I just upgraded appium to 1.6.4.
I also upraded Appium-Python-Client, setting:

selenium: 3.3.3

Now, when I call send_keys I get:

/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/selenium/webdriver/remote/webelement.pyc in send_keys(self, *value)
    347         self._execute(Command.SEND_KEYS_TO_ELEMENT,
    348                       {'text': "".join(keys_to_typing(value)),
--> 349                        'value': keys_to_typing(value)})
    350
    351     # RenderedWebElement Items

/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/selenium/webdriver/remote/webelement.pyc in _execute(self, command, params)
    491             params = {}
    492         params['id'] = self._id
--> 493         return self._parent.execute(command, params)
    494
    495     def find_element(self, by=By.ID, value=None):

/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.pyc in execute(self, driver_command, params)
    247         response = self.command_executor.execute(driver_command, params)
    248         if response:
--> 249             self.error_handler.check_response(response)
    250             response['value'] = self._unwrap_value(
    251                 response.get('value', None))

/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/appium/webdriver/errorhandler.pyc in check_response(self, response)
     27                 raise NoSuchContextException(wde.msg, wde.screen, wde.stacktrace)
     28             else:
---> 29                 raise wde
     30

WebDriverException: Message: Parameters were incorrect. We wanted {"required":["value"]} and you sent ["text","sessionId","id","value"]

it worked before updating selenium.

@RudolfVonKrugstein

This comment has been minimized.

Copy link
Author

RudolfVonKrugstein commented Apr 11, 2017

On the server side (appium) it says:

[HTTP] <-- POST /wd/hub/session/cb0454eb-065e-48ac-b858-bf599fbc8664/element/777D71A0-D739-4387-86B0-49A4069C7701/click 200 600 ms - 118
[HTTP] --> POST /wd/hub/session/cb0454eb-065e-48ac-b858-bf599fbc8664/element/777D71A0-D739-4387-86B0-49A4069C7701/value {"text":"om08r2om7.om08r2.labor","sessionId":"cb0454eb-065e-48ac-b858-bf599fbc8664","id":"777D71A0-D739-4387-86B0-49A4069C7701","value":["o","m","0","8","r","2","o","m","7",".","o","m","0","8","r","2",".","l","a","b","o","r"]}
[debug] [MJSONWP] Bad parameters: BadParametersError: Parameters were incorrect. We wanted {"required":["value"]} and you sent ["text","sessionId","id","value"]
@jlipps

This comment has been minimized.

Copy link
Member

jlipps commented Apr 11, 2017

Yep, looks like an incompatibility with the new selenium client. We'll take a look! (cc @imurchie)

@hleeanexinet

This comment has been minimized.

Copy link

hleeanexinet commented Apr 13, 2017

I am having the same problem. I have downgraded selenium for now.

pip uninstall selenium
pip install selenium==3.3.1
@admbaum

This comment has been minimized.

Copy link

admbaum commented Apr 17, 2017

hleeanexinet, this worked for me

@anand853

This comment has been minimized.

Copy link

anand853 commented Apr 19, 2017

working as expected with selenium 3.3.1
Thank you!

@gkvappium

This comment has been minimized.

Copy link

gkvappium commented Apr 21, 2017

@jlipps ,

I still get the below error even with Selenium 3.3.1

We wanted {"required":["value"]} and you sent ["text","sessionId","id","value"]

I upgraded to IOS 10 and all my send_keys are failing on IOS 10 with XCUI. No problem with Instruments and lower version of IOS though (<10.0)

Thanks

@lilfry14

This comment has been minimized.

Copy link

lilfry14 commented Apr 21, 2017

I get this issue too with appium 1.6.4-beta

@gkvappium

This comment has been minimized.

Copy link

gkvappium commented Apr 22, 2017

@imurchie,

Any reason as to why this is happening even with selenium 3.3.1?

@cristopherdcb

This comment has been minimized.

Copy link

cristopherdcb commented Apr 28, 2017

As other said:

Selenium 3.3.1

In my particular case:

  • Selenium 3.3.1
  • Appium 1.6.4
  • Firefox 52.0
  • Geckodriver 0.15.0
  • robotframework-selenium2library-1.8.0
@tobyqin

This comment has been minimized.

Copy link

tobyqin commented May 2, 2017

selenium 3.3.1 is the key.

@philb32

This comment has been minimized.

Copy link

philb32 commented May 2, 2017

I was getting exactly this error trying to set text using robotframework-appiumlibrary. Downgrading from selenium 3.4.1 to selenenium 3.3.1 worked for me. Am using;

robotframework-appiumlibrary (1.4.3)
Appium-Python-Client (0.24)

With pipdeptree get this:
robotframework-appiumlibrary==1.4.3

  • Appium-Python-Client [required: >=0.20, installed: 0.24]
    • selenium [required: >=2.47.0, installed: 3.3.1]

Appium server is 1.6.5 beta in docker container, see https://github.com/appium/appium-docker-android

@robertluo1949

This comment has been minimized.

Copy link

robertluo1949 commented May 4, 2017

i meet the same problems .
appium(1.6.4)
Appium-Python-Client (0.24)
selenium(3.4.1)

Fixed action:

install selenium with old version 3.3.1

@PingSky0818

This comment has been minimized.

Copy link

PingSky0818 commented May 5, 2017

selenium 3.3.1 fixes the problem I've been having.
thx~~

@timyhou

This comment has been minimized.

Copy link

timyhou commented May 12, 2017

I am only seeing this occur on my IOS tests (10.2 and 9.3). The Android ones seem to work fine.

appium(1.6.3 & 1.6.4)
Appium-Python-Client (0.24)
selenium(3.4.1)
Python 3.6.1

When I downgraded to selenium 3.3.1 I ran into this issue instead if I try to use a remote client. Anything greater than 3.3.1 exhibits the initial behavior.

When I run a local simulator however, it will work normally.

@i-mahesh

This comment has been minimized.

Copy link

i-mahesh commented May 18, 2017

This Chnage in selenium seems to have introduced the problem for appium

@jlipps

This comment has been minimized.

Copy link
Member

jlipps commented May 18, 2017

we're tracking this issue on the appium server level now: appium/appium#8253

@jlipps jlipps closed this May 18, 2017

@sambeetmohapatra

This comment has been minimized.

Copy link

sambeetmohapatra commented Jul 1, 2017

Downgraded to selenium 2.53.1 .. worked for me !!

@chennareddy08

This comment has been minimized.

Copy link

chennareddy08 commented Aug 11, 2017

[debug] [MJSONWP] Bad parameters: BadParametersError: Parameters were incorrect. We wanted {"required":["value"]} and you sent ["text","value","id","sessionId"]
[HTTP] <-- POST /wd/hub/session/62c677a3-3f53-45a8-8b46-05fef8ab71a4/element/5/value 400 3 ms - 106

Last login: Sat Aug 12 00:22:08 on ttys000
mche:~ chennareddy$ appium --address 127.0.0.1
[Appium] Welcome to Appium v1.6.5
[Appium] Non-default server args:
[Appium] address: 127.0.0.1
[Appium] Appium REST http interface listener started on 127.0.0.1:4723
[HTTP] --> POST /wd/hub/session {"capabilities":{"firstMatch":[{}],"alwaysMatch":{"platformName":"Android"}},"desiredCapabilities":{"app":"/Users/chennareddy/sample/63.apk","platformName":"Android","platformVersion":"6.0.1","deviceName":"4210ecd7c21ba3d7"}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"app":"/Users/chennareddy/sample/63.apk","platformName":"Android","platformVersion":"6.0.1","deviceName":"4210ecd7c21ba3d7"},null,{"firstMatch":[{}],"alwaysMatch":{"platformName":"Android"}}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1502477645260 (00:24:05 GMT+0530 (IST))
[Appium] Creating new AndroidDriver (v1.20.0) session
[Appium] Capabilities:
[Appium] app: '/Users/chennareddy/sample/63.apk'
[Appium] platformName: 'Android'
[Appium] platformVersion: '6.0.1'
[Appium] deviceName: '4210ecd7c21ba3d7'
[debug] [AndroidDriver] AndroidDriver version: 1.20.0
[BaseDriver] Session created with session id: 62c677a3-3f53-45a8-8b46-05fef8ab71a4
[debug] [AndroidDriver] Getting Java version
[AndroidDriver] Java version is: 1.8.0_71
[ADB] Checking whether adb is present
[ADB] Using adb from /Users/chennareddy/Library/Android/sdk/platform-tools/adb
[AndroidDriver] Retrieving device list
[debug] [ADB] Trying to find a connected android device
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[AndroidDriver] Looking for a device with Android '6.0.1'
[debug] [ADB] Setting device id to 4210ecd7c21ba3d7
[ADB] Getting device platform version
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/chennareddy/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","4210ecd7c21ba3d7","shell","getprop","ro.build.version.release"]
[AndroidDriver] Using device: 4210ecd7c21ba3d7
[ADB] Checking whether adb is present
[ADB] Using adb from /Users/chennareddy/Library/Android/sdk/platform-tools/adb
[debug] [ADB] Setting device id to 4210ecd7c21ba3d7
[BaseDriver] Using local app '/Users/chennareddy/sample/63.apk'
[debug] [AndroidDriver] Checking whether app is actually present
[AndroidDriver] Starting Android session
[debug] [ADB] Running '/Users/chennareddy/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","4210ecd7c21ba3d7","wait-for-device"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/chennareddy/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","4210ecd7c21ba3d7","shell","echo","ping"]
[debug] [Logcat] Starting logcat capture
[debug] [AndroidDriver] Pushing settings apk to device...
[debug] [ADB] Getting install status for io.appium.settings
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/chennareddy/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","4210ecd7c21ba3d7","shell","pm","list","packages","io.appium.settings"]
[debug] [ADB] App is installed
[debug] [ADB] Getting package info for io.appium.settings
[debug] [ADB] Getting connected devices...
[ADB] Checking whether aapt is present
[ADB] Using aapt from /Users/chennareddy/Library/Android/sdk/build-tools/19.1.0/aapt
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/chennareddy/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","4210ecd7c21ba3d7","shell","dumpsys","package","io.appium.settings"]
[ADB] Cannot read version codes of /usr/local/lib/node_modules/appium/node_modules/io.appium.settings/app/build/outputs/apk/settings_apk-debug.apk and/or io.appium.settings. Assuming correct app version is already installed
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/chennareddy/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","4210ecd7c21ba3d7","shell","getprop","ro.build.version.sdk"]
[debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/chennareddy/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","4210ecd7c21ba3d7","shell","dumpsys","package","io.appium.settings"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/chennareddy/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","4210ecd7c21ba3d7","shell","pm","dump","io.appium.settings"]
[debug] [ADB] Got the following command chunks to execute: pm,grant,io.appium.settings,android.permission.INTERNET,;,pm,grant,io.appium.settings,android.permission.CHANGE_NETWORK_STATE,;,pm,grant,io.appium.settings,android.permission.ACCESS_NETWORK_STATE,;,pm,grant,io.appium.settings,android.permission.READ_PHONE_STATE,;,pm,grant,io.appium.settings,android.permission.WRITE_SETTINGS,;,pm,grant,io.appium.settings,android.permission.CHANGE_WIFI_STATE,;,pm,grant,io.appium.settings,android.permission.ACCESS_WIFI_STATE,;,pm,grant,io.appium.settings,android.permission.ACCESS_FINE_LOCATION,;,pm,grant,io.appium.settings,android.permission.ACCESS_COARSE_LOCATION,;,pm,grant,io.appium.settings,android.permission.ACCESS_MOCK_LOCATION,;
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/chennareddy/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","4210ecd7c21ba3d7","shell","pm","grant","io.appium.settings","android.permission.INTERNET",";","pm","grant","io.appium.settings","android.permission.CHANGE_NETWORK_STATE",";","pm","grant","io.appium.settings","android.permission.ACCESS_NETWORK_STATE",";","pm","grant","io.appium.settings","android.permission.READ_PHONE_STATE",";","pm","grant","io.appium.settings","android.permission.WRITE_SETTINGS",";","pm","grant","io.appium.settings","android.permission.CHANGE_WIFI_STATE",";","pm","grant","io.appium.settings","android.permission.ACCESS_WIFI_STATE",";","pm","grant","io.appium.settings","android.permission.ACCESS_FINE_LOCATION",";","pm","grant","io.appium.settings","android.permission.ACCESS_COARSE_LOCATION",";","pm","grant","io.appium.settings","android.permission.ACCESS_MOCK_LOCATION",";"]
[debug] [AndroidDriver] Pushing unlock helper app to device...
[debug] [ADB] Running '/Users/chennareddy/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","4210ecd7c21ba3d7","install","/usr/local/lib/node_modules/appium/node_modules/appium-unlock/bin/unlock_apk-debug.apk"]
[debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/chennareddy/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","4210ecd7c21ba3d7","shell","appops","set","io.appium.settings","android:mock_location","allow"]
[ADB] Getting device platform version
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/chennareddy/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","4210ecd7c21ba3d7","shell","getprop","ro.build.version.release"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/chennareddy/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","4210ecd7c21ba3d7","shell","wm","size"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/chennareddy/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","4210ecd7c21ba3d7","shell","getprop","ro.product.model"]
[debug] [ADB] Current device property 'ro.product.model': SM-G570F
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/chennareddy/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","4210ecd7c21ba3d7","shell","getprop","ro.product.manufacturer"]
[debug] [ADB] Current device property 'ro.product.manufacturer': samsung
[debug] [AndroidDriver] Parsing package and activity from app manifest
[ADB] Checking whether aapt is present
[ADB] Using aapt from /Users/chennareddy/Library/Android/sdk/build-tools/19.1.0/aapt
[ADB] Extracting package and launch activity from manifest
[debug] [ADB] badging package: com.handstandapp.handstandclient
[debug] [ADB] badging act: com.handstandapp.handstandclient.modules.splashscreen.SplashScreenActivity
[debug] [AndroidDriver] Parsed package and activity are: com.handstandapp.handstandclient/com.handstandapp.handstandclient.modules.splashscreen.SplashScreenActivity
[AndroidDriver] Remote apk path is /data/local/tmp/682b7347d2213b15d38930fdae828006.apk
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/chennareddy/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","4210ecd7c21ba3d7","shell","ls","/data/local/tmp/682b7347d2213b15d38930fdae828006.apk"]
[debug] [AndroidDriver] Checking if app is installed
[debug] [ADB] Getting install status for com.handstandapp.handstandclient
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/chennareddy/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","4210ecd7c21ba3d7","shell","pm","list","packages","com.handstandapp.handstandclient"]
[debug] [ADB] App is installed
[AndroidDriver] Apk is already on remote and installed, resetting
[debug] [AndroidDriver] Running fast reset (stop and clear)
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/chennareddy/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","4210ecd7c21ba3d7","shell","am","force-stop","com.handstandapp.handstandclient"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/chennareddy/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","4210ecd7c21ba3d7","shell","pm","clear","com.handstandapp.handstandclient"]
[debug] [AndroidDriver] Extracting strings from apk /Users/chennareddy/sample/63.apk null /var/folders/cc/06482nvx3mg0y9kg6wyjfymw0000gp/T/com.handstandapp.handstandclient
[debug] [ADB] Extracting strings for language: default
[debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/chennareddy/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","4210ecd7c21ba3d7","shell","getprop","persist.sys.locale"]
[debug] [ADB] Current device property 'persist.sys.locale': en-US
[debug] [ADB] No strings.xml for language 'en', getting default strings.xml
[debug] [ADB] Reading strings from converted strings.json
[debug] [ADB] Running '/Users/chennareddy/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","4210ecd7c21ba3d7","push","/var/folders/cc/06482nvx3mg0y9kg6wyjfymw0000gp/T/com.handstandapp.handstandclient/strings.json","/data/local/tmp"]
[debug] [AndroidBootstrap] Watching for bootstrap disconnect
[debug] [ADB] Forwarding system: 4724 to device: 4724
[debug] [ADB] Running '/Users/chennareddy/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","4210ecd7c21ba3d7","forward","tcp:4724","tcp:4724"]
[debug] [UiAutomator] Starting UiAutomator
[debug] [UiAutomator] Moving to state 'starting'
[debug] [UiAutomator] Parsing uiautomator jar
[debug] [UiAutomator] Found jar name: 'AppiumBootstrap.jar'
[debug] [ADB] Running '/Users/chennareddy/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","4210ecd7c21ba3d7","push","/usr/local/lib/node_modules/appium/node_modules/appium-android-bootstrap/bootstrap/bin/AppiumBootstrap.jar","/data/local/tmp/"]
[debug] [ADB] Attempting to kill all uiautomator processes
[debug] [ADB] Getting all processes with uiautomator
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/chennareddy/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","4210ecd7c21ba3d7","shell","ps"]
[ADB] No uiautomator process found to kill, continuing...
[debug] [UiAutomator] Starting UIAutomator
[debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","4210ecd7c21ba3d7","shell","uiautomator","runtest","AppiumBootstrap.jar","-c","io.appium.android.bootstrap.Bootstrap","-e","pkg","com.handstandapp.handstandclient","-e","disableAndroidWatchers",false,"-e","acceptSslCerts",false]
[debug] [UiAutomator] Moving to state 'online'
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Loading json...
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] json loading complete.
[AndroidBootstrap] Android bootstrap socket is now connected
[debug] [ADB] Getting connected devices...
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Registered crash watchers.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Client connected
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/chennareddy/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","4210ecd7c21ba3d7","shell","dumpsys","window"]
[AndroidDriver] Screen already unlocked, doing nothing
[debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/chennareddy/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","4210ecd7c21ba3d7","shell","am","start","-W","-n","com.handstandapp.handstandclient/com.handstandapp.handstandclient.modules.splashscreen.SplashScreenActivity","-S","-a","android.intent.action.MAIN","-c","android.intent.category.LAUNCHER","-f","0x10200000"]
[debug] [ADB] Waiting for activity matching pkg: 'com.handstandapp.handstandclient' and activity: 'com.handstandapp.handstandclient.modules.splashscreen.SplashScreenActivity' to be focused
[debug] [ADB] Possible activities, to be checked: com.handstandapp.handstandclient.modules.splashscreen.SplashScreenActivity, com.handstandapp.handstandclient.com.handstandapp.handstandclient.modules.splashscreen.SplashScreenActivity
[debug] [ADB] Getting focused package and activity
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/chennareddy/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","4210ecd7c21ba3d7","shell","dumpsys","window","windows"]
[debug] [ADB] Found package: 'com.handstandapp.handstandclient' and fully qualified activity name : 'com.handstandapp.handstandclient.modules.splashscreen.SplashScreenActivity'
[Appium] New AndroidDriver session created successfully, session 62c677a3-3f53-45a8-8b46-05fef8ab71a4 added to master session list
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1502477679819 (00:24:39 GMT+0530 (IST))
[debug] [MJSONWP] Responding to client with driver.createSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"app":"/Users/chennareddy/sample/63.apk","platformName":"Android","platformVersion":"6.0.1","deviceName":"4210ecd7c21ba3d7"},"app":"/Users/chennareddy/sample/63.apk","platformName":"Android","platformVersion":"6.0.1","deviceName":"4210ecd7c21ba3d7","deviceUDID":"4210ecd7c21ba3d7","deviceScreenSize":"720x1280","deviceModel":"SM-G570F","deviceManufacturer":"samsung","appPackage":"com.handstandapp.handstandclient","appWaitPackage":"com.handstandapp.handstandclient","appActivity":"com.handstandapp.handstandclient.modules.splashscreen.SplashScreenActivity","appWaitActivity":"com.handstandapp.handstandclient.modules.splashscreen.SplashScreenActivity"}
[HTTP] <-- POST /wd/hub/session 200 34569 ms - 931
[HTTP] --> POST /wd/hub/session/62c677a3-3f53-45a8-8b46-05fef8ab71a4/element {"using":"id","value":"com.handstandapp.handstandclient:id/intro_login_btn","sessionId":"62c677a3-3f53-45a8-8b46-05fef8ab71a4"}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["id","com.handstandapp.handstandclient:id/intro_login_btn","62c677a3-3f53-45a8-8b46-05fef8ab71a4"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.handstandapp.handstandclient:id/intro_login_btn","context":"","multiple":false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.handstandapp.handstandclient:id/intro_login_btn","context":"","multiple":false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'com.handstandapp.handstandclient:id/intro_login_btn' using 'ID' with the contextId: '' multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.handstandapp.handstandclient:id/intro_login_btn]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'com.handstandapp.handstandclient:id/intro_login_btn' using 'ID' with the contextId: '' multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.handstandapp.handstandclient:id/intro_login_btn]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":7,"value":"No element found"}
[debug] [AndroidBootstrap] Received command result from bootstrap
[HTTP] <-- POST /wd/hub/session/62c677a3-3f53-45a8-8b46-05fef8ab71a4/element 500 184 ms - 164
[HTTP] --> POST /wd/hub/session/62c677a3-3f53-45a8-8b46-05fef8ab71a4/element {"using":"id","value":"com.handstandapp.handstandclient:id/intro_login_btn","sessionId":"62c677a3-3f53-45a8-8b46-05fef8ab71a4"}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["id","com.handstandapp.handstandclient:id/intro_login_btn","62c677a3-3f53-45a8-8b46-05fef8ab71a4"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.handstandapp.handstandclient:id/intro_login_btn","context":"","multiple":false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.handstandapp.handstandclient:id/intro_login_btn","context":"","multiple":false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'com.handstandapp.handstandclient:id/intro_login_btn' using 'ID' with the contextId: '' multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.handstandapp.handstandclient:id/intro_login_btn]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'com.handstandapp.handstandclient:id/intro_login_btn' using 'ID' with the contextId: '' multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.handstandapp.handstandclient:id/intro_login_btn]
[debug] [AndroidBootstrap] Received command result from bootstrap
[HTTP] <-- POST /wd/hub/session/62c677a3-3f53-45a8-8b46-05fef8ab71a4/element 500 330 ms - 164
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":7,"value":"No element found"}
[HTTP] --> POST /wd/hub/session/62c677a3-3f53-45a8-8b46-05fef8ab71a4/element {"using":"id","value":"com.handstandapp.handstandclient:id/intro_login_btn","sessionId":"62c677a3-3f53-45a8-8b46-05fef8ab71a4"}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["id","com.handstandapp.handstandclient:id/intro_login_btn","62c677a3-3f53-45a8-8b46-05fef8ab71a4"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.handstandapp.handstandclient:id/intro_login_btn","context":"","multiple":false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.handstandapp.handstandclient:id/intro_login_btn","context":"","multiple":false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'com.handstandapp.handstandclient:id/intro_login_btn' using 'ID' with the contextId: '' multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.handstandapp.handstandclient:id/intro_login_btn]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"1"}}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"1"}
[HTTP] <-- POST /wd/hub/session/62c677a3-3f53-45a8-8b46-05fef8ab71a4/element 200 431 ms - 87
[HTTP] --> GET /wd/hub/session/62c677a3-3f53-45a8-8b46-05fef8ab71a4/element/1/displayed {}
[debug] [MJSONWP] Calling AppiumDriver.elementDisplayed() with args: ["1","62c677a3-3f53-45a8-8b46-05fef8ab71a4"]
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:getAttribute","params":{"attribute":"displayed","elementId":"1"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getAttribute","params":{"attribute":"displayed","elementId":"1"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: getAttribute
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":"true"}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [MJSONWP] Responding to client with driver.elementDisplayed() result: true
[HTTP] <-- GET /wd/hub/session/62c677a3-3f53-45a8-8b46-05fef8ab71a4/element/1/displayed 200 17 ms - 76
[HTTP] --> GET /wd/hub/session/62c677a3-3f53-45a8-8b46-05fef8ab71a4/element/1/enabled {}
[debug] [MJSONWP] Calling AppiumDriver.elementEnabled() with args: ["1","62c677a3-3f53-45a8-8b46-05fef8ab71a4"]
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:getAttribute","params":{"attribute":"enabled","elementId":"1"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getAttribute","params":{"attribute":"enabled","elementId":"1"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: getAttribute
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":"true"}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [MJSONWP] Responding to client with driver.elementEnabled() result: true
[HTTP] <-- GET /wd/hub/session/62c677a3-3f53-45a8-8b46-05fef8ab71a4/element/1/enabled 200 27 ms - 76
[HTTP] --> POST /wd/hub/session/62c677a3-3f53-45a8-8b46-05fef8ab71a4/element/1/click {"id":"1","sessionId":"62c677a3-3f53-45a8-8b46-05fef8ab71a4"}
[debug] [MJSONWP] Calling AppiumDriver.click() with args: ["1","62c677a3-3f53-45a8-8b46-05fef8ab71a4"]
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:click","params":{"elementId":"1"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"1"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: click
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [MJSONWP] Responding to client with driver.click() result: true
[HTTP] <-- POST /wd/hub/session/62c677a3-3f53-45a8-8b46-05fef8ab71a4/element/1/click 200 410 ms - 76
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true}
[HTTP] --> POST /wd/hub/session/62c677a3-3f53-45a8-8b46-05fef8ab71a4/element {"using":"id","value":"com.handstandapp.handstandclient:id/login_account_email","sessionId":"62c677a3-3f53-45a8-8b46-05fef8ab71a4"}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["id","com.handstandapp.handstandclient:id/login_account_email","62c677a3-3f53-45a8-8b46-05fef8ab71a4"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.handstandapp.handstandclient:id/login_account_email","context":"","multiple":false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.handstandapp.handstandclient:id/login_account_email","context":"","multiple":false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'com.handstandapp.handstandclient:id/login_account_email' using 'ID' with the contextId: '' multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.handstandapp.handstandclient:id/login_account_email]
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"2"}
[HTTP] <-- POST /wd/hub/session/62c677a3-3f53-45a8-8b46-05fef8ab71a4/element 200 515 ms - 87
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"2"}}
[HTTP] --> GET /wd/hub/session/62c677a3-3f53-45a8-8b46-05fef8ab71a4/element/2/displayed {}
[debug] [MJSONWP] Calling AppiumDriver.elementDisplayed() with args: ["2","62c677a3-3f53-45a8-8b46-05fef8ab71a4"]
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:getAttribute","params":{"attribute":"displayed","elementId":"2"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getAttribute","params":{"attribute":"displayed","elementId":"2"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: getAttribute
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":"true"}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [MJSONWP] Responding to client with driver.elementDisplayed() result: true
[HTTP] <-- GET /wd/hub/session/62c677a3-3f53-45a8-8b46-05fef8ab71a4/element/2/displayed 200 26 ms - 76
[HTTP] --> GET /wd/hub/session/62c677a3-3f53-45a8-8b46-05fef8ab71a4/element/2/enabled {}
[debug] [MJSONWP] Calling AppiumDriver.elementEnabled() with args: ["2","62c677a3-3f53-45a8-8b46-05fef8ab71a4"]
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:getAttribute","params":{"attribute":"enabled","elementId":"2"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getAttribute","params":{"attribute":"enabled","elementId":"2"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: getAttribute
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":"true"}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [MJSONWP] Responding to client with driver.elementEnabled() result: true
[HTTP] <-- GET /wd/hub/session/62c677a3-3f53-45a8-8b46-05fef8ab71a4/element/2/enabled 200 24 ms - 76
[HTTP] --> POST /wd/hub/session/62c677a3-3f53-45a8-8b46-05fef8ab71a4/element/2/clear {"id":"2","sessionId":"62c677a3-3f53-45a8-8b46-05fef8ab71a4"}
[debug] [MJSONWP] Calling AppiumDriver.clear() with args: ["2","62c677a3-3f53-45a8-8b46-05fef8ab71a4"]
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:getText","params":{"elementId":"2"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getText","params":{"elementId":"2"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: getText
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:click","params":{"elementId":"2"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":"Your Email Address"}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"2"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: click
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [ADB] Clearing up to 18 characters
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/chennareddy/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","4210ecd7c21ba3d7","shell","input","keyevent","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112"]
[debug] [MJSONWP] Responding to client with driver.clear() result: null
[HTTP] <-- POST /wd/hub/session/62c677a3-3f53-45a8-8b46-05fef8ab71a4/element/2/clear 200 5670 ms - 76
[HTTP] --> POST /wd/hub/session/62c677a3-3f53-45a8-8b46-05fef8ab71a4/element {"using":"id","value":"com.handstandapp.handstandclient:id/login_account_email","sessionId":"62c677a3-3f53-45a8-8b46-05fef8ab71a4"}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["id","com.handstandapp.handstandclient:id/login_account_email","62c677a3-3f53-45a8-8b46-05fef8ab71a4"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.handstandapp.handstandclient:id/login_account_email","context":"","multiple":false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.handstandapp.handstandclient:id/login_account_email","context":"","multiple":false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'com.handstandapp.handstandclient:id/login_account_email' using 'ID' with the contextId: '' multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.handstandapp.handstandclient:id/login_account_email]
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"3"}
[HTTP] <-- POST /wd/hub/session/62c677a3-3f53-45a8-8b46-05fef8ab71a4/element 200 33 ms - 87
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"3"}}
[HTTP] --> GET /wd/hub/session/62c677a3-3f53-45a8-8b46-05fef8ab71a4/element/3/displayed {}
[debug] [MJSONWP] Calling AppiumDriver.elementDisplayed() with args: ["3","62c677a3-3f53-45a8-8b46-05fef8ab71a4"]
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:getAttribute","params":{"attribute":"displayed","elementId":"3"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getAttribute","params":{"attribute":"displayed","elementId":"3"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: getAttribute
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [MJSONWP] Responding to client with driver.elementDisplayed() result: true
[HTTP] <-- GET /wd/hub/session/62c677a3-3f53-45a8-8b46-05fef8ab71a4/element/3/displayed 200 24 ms - 76
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":"true"}
[HTTP] --> GET /wd/hub/session/62c677a3-3f53-45a8-8b46-05fef8ab71a4/element/3/enabled {}
[debug] [MJSONWP] Calling AppiumDriver.elementEnabled() with args: ["3","62c677a3-3f53-45a8-8b46-05fef8ab71a4"]
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:getAttribute","params":{"attribute":"enabled","elementId":"3"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getAttribute","params":{"attribute":"enabled","elementId":"3"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: getAttribute
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [MJSONWP] Responding to client with driver.elementEnabled() result: true
[HTTP] <-- GET /wd/hub/session/62c677a3-3f53-45a8-8b46-05fef8ab71a4/element/3/enabled 200 29 ms - 76
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":"true"}
[HTTP] --> POST /wd/hub/session/62c677a3-3f53-45a8-8b46-05fef8ab71a4/element/3/click {"id":"3","sessionId":"62c677a3-3f53-45a8-8b46-05fef8ab71a4"}
[debug] [MJSONWP] Calling AppiumDriver.click() with args: ["3","62c677a3-3f53-45a8-8b46-05fef8ab71a4"]
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:click","params":{"elementId":"3"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"3"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: click
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [MJSONWP] Responding to client with driver.click() result: true
[HTTP] <-- POST /wd/hub/session/62c677a3-3f53-45a8-8b46-05fef8ab71a4/element/3/click 200 3147 ms - 76
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true}
[HTTP] --> POST /wd/hub/session/62c677a3-3f53-45a8-8b46-05fef8ab71a4/element {"using":"id","value":"com.handstandapp.handstandclient:id/login_account_email","sessionId":"62c677a3-3f53-45a8-8b46-05fef8ab71a4"}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["id","com.handstandapp.handstandclient:id/login_account_email","62c677a3-3f53-45a8-8b46-05fef8ab71a4"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.handstandapp.handstandclient:id/login_account_email","context":"","multiple":false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.handstandapp.handstandclient:id/login_account_email","context":"","multiple":false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'com.handstandapp.handstandclient:id/login_account_email' using 'ID' with the contextId: '' multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.handstandapp.handstandclient:id/login_account_email]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"4"}}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"4"}
[HTTP] <-- POST /wd/hub/session/62c677a3-3f53-45a8-8b46-05fef8ab71a4/element 200 23 ms - 87
[HTTP] --> GET /wd/hub/session/62c677a3-3f53-45a8-8b46-05fef8ab71a4/element/4/displayed {}
[debug] [MJSONWP] Calling AppiumDriver.elementDisplayed() with args: ["4","62c677a3-3f53-45a8-8b46-05fef8ab71a4"]
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:getAttribute","params":{"attribute":"displayed","elementId":"4"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getAttribute","params":{"attribute":"displayed","elementId":"4"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: getAttribute
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [MJSONWP] Responding to client with driver.elementDisplayed() result: true
[HTTP] <-- GET /wd/hub/session/62c677a3-3f53-45a8-8b46-05fef8ab71a4/element/4/displayed 200 36 ms - 76
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":"true"}
[HTTP] --> GET /wd/hub/session/62c677a3-3f53-45a8-8b46-05fef8ab71a4/element/4/enabled {}
[debug] [MJSONWP] Calling AppiumDriver.elementEnabled() with args: ["4","62c677a3-3f53-45a8-8b46-05fef8ab71a4"]
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:getAttribute","params":{"attribute":"enabled","elementId":"4"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getAttribute","params":{"attribute":"enabled","elementId":"4"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: getAttribute
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [MJSONWP] Responding to client with driver.elementEnabled() result: true
[HTTP] <-- GET /wd/hub/session/62c677a3-3f53-45a8-8b46-05fef8ab71a4/element/4/enabled 200 27 ms - 76
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":"true"}
[HTTP] --> POST /wd/hub/session/62c677a3-3f53-45a8-8b46-05fef8ab71a4/element/4/click {"id":"4","sessionId":"62c677a3-3f53-45a8-8b46-05fef8ab71a4"}
[debug] [MJSONWP] Calling AppiumDriver.click() with args: ["4","62c677a3-3f53-45a8-8b46-05fef8ab71a4"]
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:click","params":{"elementId":"4"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"4"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: click
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [MJSONWP] Responding to client with driver.click() result: true
[HTTP] <-- POST /wd/hub/session/62c677a3-3f53-45a8-8b46-05fef8ab71a4/element/4/click 200 3145 ms - 76
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true}
[HTTP] --> POST /wd/hub/session/62c677a3-3f53-45a8-8b46-05fef8ab71a4/element {"using":"id","value":"com.handstandapp.handstandclient:id/login_account_email","sessionId":"62c677a3-3f53-45a8-8b46-05fef8ab71a4"}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["id","com.handstandapp.handstandclient:id/login_account_email","62c677a3-3f53-45a8-8b46-05fef8ab71a4"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.handstandapp.handstandclient:id/login_account_email","context":"","multiple":false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.handstandapp.handstandclient:id/login_account_email","context":"","multiple":false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'com.handstandapp.handstandclient:id/login_account_email' using 'ID' with the contextId: '' multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.handstandapp.handstandclient:id/login_account_email]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"5"}}
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"5"}
[HTTP] <-- POST /wd/hub/session/62c677a3-3f53-45a8-8b46-05fef8ab71a4/element 200 32 ms - 87
[HTTP] --> GET /wd/hub/session/62c677a3-3f53-45a8-8b46-05fef8ab71a4/element/5/displayed {}
[debug] [MJSONWP] Calling AppiumDriver.elementDisplayed() with args: ["5","62c677a3-3f53-45a8-8b46-05fef8ab71a4"]
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:getAttribute","params":{"attribute":"displayed","elementId":"5"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getAttribute","params":{"attribute":"displayed","elementId":"5"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: getAttribute
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [MJSONWP] Responding to client with driver.elementDisplayed() result: true
[HTTP] <-- GET /wd/hub/session/62c677a3-3f53-45a8-8b46-05fef8ab71a4/element/5/displayed 200 32 ms - 76
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":"true"}
[HTTP] --> GET /wd/hub/session/62c677a3-3f53-45a8-8b46-05fef8ab71a4/element/5/enabled {}
[debug] [MJSONWP] Calling AppiumDriver.elementEnabled() with args: ["5","62c677a3-3f53-45a8-8b46-05fef8ab71a4"]
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:getAttribute","params":{"attribute":"enabled","elementId":"5"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getAttribute","params":{"attribute":"enabled","elementId":"5"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: getAttribute
[debug] [AndroidBootstrap] Received command result from bootstrap
[debug] [MJSONWP] Responding to client with driver.elementEnabled() result: true
[HTTP] <-- GET /wd/hub/session/62c677a3-3f53-45a8-8b46-05fef8ab71a4/element/5/enabled 200 28 ms - 76
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":"true"}
[HTTP] --> POST /wd/hub/session/62c677a3-3f53-45a8-8b46-05fef8ab71a4/element/5/value {"text":"appiumtest@gmail.com","value":["a","p","p","i","u","m","t","e","s","t","@","g","m","a","i","l",".","c","o","m"],"id":"5","sessionId":"62c677a3-3f53-45a8-8b46-05fef8ab71a4"}
[debug] [MJSONWP] Bad parameters: BadParametersError: Parameters were incorrect. We wanted {"required":["value"]} and you sent ["text","value","id","sessionId"]
[HTTP] <-- POST /wd/hub/session/62c677a3-3f53-45a8-8b46-05fef8ab71a4/element/5/value 400 3 ms - 106

@sambeetmohapatra

This comment has been minimized.

Copy link

sambeetmohapatra commented Aug 11, 2017

@chennareddy08

This comment has been minimized.

Copy link

chennareddy08 commented Aug 12, 2017

Thanks for help.
i have tried other method using set_text("test@gmail.com") it worked no need to uninstall selenium and also tried your suggestion also worked

@farooqyousuf

This comment has been minimized.

Copy link

farooqyousuf commented Aug 21, 2017

Am running Appium + iOS Simulator + Selenium (Cucumber + Capybara[Ruby]), but am getting this error:

Selenium::WebDriver::Error::WebDriverError: unexpected response, code=400, content-type="text/html"
Parameters were incorrect. We wanted {"required":["desiredCapabilities"],"optional":["requiredCapabilities","sessionId","id","sessionId","id","sessionId","id","sessionId","id","sessionId","id"]} and you sent ["desiredCapabilities","capabilities"]

Got around by removing all Ruby gems of 'selenium-webdriver' then installing version '3.3.0' of 'selenium-webdriver' and got past that error.

@danibudi

This comment has been minimized.

Copy link

danibudi commented Sep 20, 2017

Ubuntu 17.04
Appium 1.6.5
selenium: 3.5.0
Appium-Python-Client 0.24
python 3.5

The issue persists:
self.driver.find_element_by_id("input_password").send_keys('phones')

WebDriverException: Message: Parameters were incorrect. We wanted {"required":["value"]} and you sent ["text","sessionId","id","value"]

downgrade Selenium to 3.3.1 works as expected

@RudolfVonKrugstein Should I create a new issue?

@RudolfVonKrugstein

This comment has been minimized.

Copy link
Author

RudolfVonKrugstein commented Oct 21, 2017

Same here. See appium/appium#8253, fix is coming with 1.6.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.