Skip to content

Instantly share code, notes, and snippets.

View ochubey's full-sized avatar
🔀

Oleksiy Chubey ochubey

🔀
View GitHub Profile
org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: An unknown server-side error occurred while processing the command. (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 0 milliseconds
Build info: version: '3.9.1', revision: '63f7b50', time: '2018-02-07T22:25:02.294Z'
System info: host: 'some host', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.13.3', java.version: '1.8.0_65'
Driver info: io.appium.java_client.ios.IOSDriver
Capabilities {app: ~/Desktop/The..., browserName: , databaseEnabled: false, deviceName: iPhone5s, javascriptEnabled: true, locationContextEnabled: false, networkConnectionEnabled: false, platform: MAC, platformName: MAC, platformVersion: 11.1.1, takesScreenshot: true, udid:replaced..., webStorageEnabled: false}
Session ID: f49444c2-76a0-4ca7-8db4-a695337187a8
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructor
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"app":"/Users/user/Desktop/TheApp.ipa","deviceName":"iPhone5s","platformName":"iOS","platformVersion":"11.1.1","udid":"udid"},"capabilities":{"desiredCapabilities":{"app":"/Users/user/Desktop/TheApp.ipa","deviceName":"iPhone5s","platformName":"iOS","platformVersion":"11.1.1","udid":"udid"},"firstMatch":[{"platformName":"ios"}]}}
[MJSONWP] Calling AppiumDriver.createSession() with args: [{"app":"/Users/user/Desktop/TheApp.ipa","deviceName":"iPhone5s","platformName":"iOS","platformVersion":"11.1.1","udid":"udid"},null,{"desiredCapabilities":{"app":"/Users/user/Desktop/TheApp.ipa","deviceName":"iPhone5s","platformName":"iOS","platformVersion":"11.1.1","udid":"udid"},"firstMatch":[{"platformName":"ios"}]}]
[BaseDriver] Event 'newSessionRequested' logged at 1522428429920 (19:47:09 GMT+0300 (EEST))
[Appium] Merged W3C capabilities {"desiredCapabilities":{"app":"/Users/user/... into desiredCapabilities object {"app":"/Users/user/Desktop/TheApp.ipa","de...
[Appi
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node',
1 verbose cli '/usr/local/bin/npm',
1 verbose cli 'install',
1 verbose cli '-g',
1 verbose cli 'optimus-cli' ]
2 info using npm@5.5.1
3 info using node@v8.1.3
4 verbose npm-session a827fffd54007ef1
5 silly install loadCurrentTree
2017-05-23 18:21:01:481 - info: [HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"app":"/Users/USERNAME/Desktop/WebView2.ipa","noReset":true,"xcodeOrgId":"[XCODE_ORG_ID]","appiumVersion":"1.6.4","startIWDP":true,"fullReset":false,"deviceName":"DespoPhone","xcodeSigningId":"iPhone Developer","showXcodeLog":true,"newCommandTimeout":130,"platformVersion":"10.3.2","automationName":"XCUITest","waitForAppScript":"$.delay(5000); XCUIApplication.alert(); $.dismissAlert(); true;","autoWebview":false,"udid":"[phoneUDID]","platformName":"iOS"}}
2017-05-23 18:21:01:482 - info: [debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"app":"/Users/USERNAME/Desktop/WebView2.ipa","noReset":true,"xcodeOrgId":"[XCODE_ORG_ID]","appiumVersion":"1.6.4","startIWDP":true,"fullReset":false,"deviceName":"DespoPhone","xcodeSigningId":"iPhone Developer","showXcodeLog":true,"newCommandTimeout":130,"platformVersion":"10.3.2","automationName":"XCUITest","waitForAppScript":"$.delay(5000); XCUIApplication.alert(); $.dismi
on run argv
tell application "Simulator" to launch
set inTime to current date
repeat
tell application "System Events"
if "Simulator" is in (get name of processes) then exit repeat
end tell
if (current date) - inTime is greater than 10 then exit repeat
delay 0.2
@ochubey
ochubey / tmp.sh
Last active February 8, 2017 14:52
curl https://gist.githubusercontent.com/ochubey/b760e7fae71e704f2dcb087c5d5d956d/raw/65c3ae832a4897ebe9f1880ef295c62b142e113d/set_hardware_keyboard.applescript > set_hardware_keyboard.applescript
osascript set_hardware_keyboard.applescript
[
{
"screenshot": 0,
"between_commands": null,
"suggestion_values": null,
"request": {
"desiredCapabilities": {
"deviceName": "iPhone 6",
"unicodeKeyboard": true,
"automationName": "XCUITest",
2017-02-07 12:11:25:988 - [Appium] Welcome to Appium v1.6.3
2017-02-07 12:11:25:991 - [Appium] Non-default server args:
2017-02-07 12:11:25:993 - [Appium] port: 4443
2017-02-07 12:11:25:993 - [Appium] callbackAddress: '127.0.0.1'
2017-02-07 12:11:25:993 - [Appium] logTimestamp: true
2017-02-07 12:11:25:994 - [Appium] logNoColors: true
2017-02-07 12:11:25:996 - [Appium] defaultCapabilities: { orientation: 'PORTRAIT',
launchTimeout: 180000,
showIOSLog: true,
noReset: true,