alibaba/macaca

执行click操作时,UIAutomatorWD server一直自动重启

Open

#749 opened on Nov 7, 2017

View on GitHub
 (0 comments) (0 reactions) (0 assignees) (417 forks)github user discovery
Pythonhelp wanted

Repository metrics

Stars
 (3,184 stars)
PR merge metrics
 (PR metrics pending)

Description

File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/macaca/webelement.py", line 381, in click self._execute(Command.CLICK_ELEMENT) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/macaca/webelement.py", line 60, in _execute return self._driver._execute(command, data, unpack) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/macaca/webdriver.py", line 68, in _execute ret.raise_for_status() File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/macaca/webdriverresult.py", line 54, in raise_for_status raise WebDriverException(error, message, screen, stacktrace) macaca.webdriverexception.WebDriverException: Error: WebDriverError.UNKNOWN_ERROR

macaca-doctor version: 2.0.3

Node.js checklist:

node env: /usr/local/bin/node node version: v6.10.3

iOS checklist:

Xcode Command Line Tools is ready, version: 2347. { Error: Command failed: xcodebuild -version xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

at ChildProcess.exithandler (child_process.js:204:12)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:886:16)
at Socket.<anonymous> (internal/child_process.js:342:11)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at Pipe._handle.close [as _onclose] (net.js:497:12)

killed: false, code: 1, signal: null, cmd: 'xcodebuild -version' } Xcode is uninstalled iproxy[usbmuxd] is installed at: /usr/local/bin/iproxy ios_webkit_debug_proxy is installed at: /usr/local/bin/ios_webkit_debug_proxy carthage is installed, version: 0.23.0

Android checklist:

JAVA version is 1.8.0_111 JAVA_HOME is set to /Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home ANDROID_HOME is set to /Users/lxxxx/Library/Android/sdk Platforms is set to /Users/lxxxx/Library/Android/sdk/platforms/android-25 ADB tool is set to /Users/lxxxx/Library/Android/sdk/platform-tools/adb gradle is installed, version: 3.5

Installed driver list:

android: 2.0.40 chrome: 1.0.7 electron: 1.1.17

Contributor guide