Skip to content

Instantly share code, notes, and snippets.

@khanhdodang
Created December 26, 2018 04:50
Show Gist options
  • Save khanhdodang/9a785388be52c75bea9e047232bf7eb2 to your computer and use it in GitHub Desktop.
Save khanhdodang/9a785388be52c75bea9e047232bf7eb2 to your computer and use it in GitHub Desktop.
[HTTP] --> POST /wd/hub/session
[HTTP] {"desiredCapabilities":{"deviceName":"*","nativeWebTap":true,"newCommandTimeout":200,"autoGrantPermissions":true,"browserName":"safari","deviceOrientation":"portrait","platformName":"iOS","showSafariNetworkLog":true,""noReset":true,"fullReset":false,"orientation":"PORTRAIT","automationName":"XCUITest"}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"deviceName":"*","nativeWebTap":true,"newCommandTimeout":200,"autoGrantPermissions":true,"browserName":"safari","captureScreenshots":true,"deviceOrientation":"portrait","platformName":"iOS","showSafariNetworkLog":true, "noReset":true,"fullReset":false,"orientation":"PORTRAIT","automationName":"XCUITest"},null,null]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1545798752064 (11:32:32 GMT+0700 (+07))
[Appium] Creating new XCUITestDriver (v2.94.2) session
[Appium] Capabilities:
[Appium] udid: 84ff77d9f4a049ee4dd697f0074f01c4ab8f2657
[Appium] automationName: XCUITest
[Appium] wdaLocalPort: 50408
[Appium] useXctestrunFile: true
[Appium] xctestrunFilePath:
[Appium] launchTimeout: 20000
[Appium] deviceName: *
[Appium] nativeWebTap: true
[Appium] newCommandTimeout: 200
[Appium] autoGrantPermissions: true
[Appium] browserName: safari
[Appium] captureScreenshots: true
[Appium] deviceOrientation: portrait
[Appium] platformName: iOS
[Appium] showSafariNetworkLog: true
[Appium] noReset: true
[Appium] fullReset: false
[Appium] orientation: PORTRAIT
[Appium] Applying relaxed security to 'XCUITestDriver' as per server command line argument
[debug] [BaseDriver] Creating session with MJSONWP desired capabilities: {"udid":"84ff77d9f4a049ee4d...
[BaseDriver] The following capabilities were provided, but are not recognized by appium: xctestrunFilePath, sessionDescription, sessionName, autoGrantPermissions, captureScreenshots, deviceOrientation, deviceGroup.
[BaseDriver] Session created with session id: fbfac36a-65cd-4567-91b9-af4e6b08839c
[debug] [XCUITest] Current user: 'kobiton'
[debug] [XCUITest] Xcode version set to '10.1' (tools v10.0.0.0.1.1535735448)
[debug] [XCUITest] iOS SDK Version set to '12.1'
[debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1545798753205 (11:32:33 GMT+0700 (+07))
[debug] [XCUITest] Available devices:
[debug] [XCUITest] Creating iDevice object with udid '84ff77d9f4a049ee4dd697f0074f01c4ab8f2657'
[XCUITest] Determining device to run tests on: udid: '84ff77d9f4a049ee4dd697f0074f01c4ab8f2657', real device: true
[XCUITest] Safari test requested
[debug] [BaseDriver] Event 'appConfigured' logged at 1545798754622 (11:32:34 GMT+0700 (+07))
[debug] [BaseDriver] Event 'resetStarted' logged at 1545798754623 (11:32:34 GMT+0700 (+07))
[debug] [XCUITest] Reset: fullReset not set. Leaving as is
[debug] [BaseDriver] Event 'resetComplete' logged at 1545798754624 (11:32:34 GMT+0700 (+07))
[debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog
[debug] [iOSLog] Starting iOS device log capture with: 'idevicesyslog'
[debug] [XCUITest] Crash reports root '' does not exist. Got nothing to gather.
[debug] [BaseDriver] Event 'logCaptureStarted' logged at 1545798755028 (11:32:35 GMT+0700 (+07))
[XCUITest] Setting up real device
[XCUITest] Using WDA path:
[XCUITest] Using WDA agent:
[debug] [XCUITest] No obsolete cached processes from previous WDA sessions listening on port 50408 have been found
[debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus'
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:50408/status] with no body
[debug] [XCUITest] WDA is not listening at 'http://localhost:50408/'
[debug] [XCUITest] WDA is currently not running. There is nothing to cache
[debug] [XCUITest] Trying to start WebDriverAgent 1 times with 10000ms interval
[debug] [BaseDriver] Event 'wdaStartAttempted' logged at 1545798755358 (11:32:35 GMT+0700 (+07))
[XCUITest] Launching WebDriverAgent on the device
[debug] [XCUITest] Killing running processes 'xcodebuild.*84ff77d9f4a049ee4dd697f0074f01c4ab8f2657, iproxy 50408' for the device 84ff77d9f4a049ee4dd697f0074f01c4ab8f2657...
[debug] [XCUITest] 'pgrep -nif xcodebuild.*84ff77d9f4a049ee4dd697f0074f01c4ab8f2657' didn't detect any matching processes. Return code: 1
[debug] [XCUITest] 'pgrep -nif iproxy 50408' didn't detect any matching processes. Return code: 1
[debug] [XCUITest] Starting iproxy to forward traffic from local port 50408 to device port 8100 over USB for the device 84ff77d9f4a049ee4dd697f0074f01c4ab8f2657
[XCUITest] Cannot parse major and minor version numbers from platformVersion "null". Will build for the default platform instead
[debug] [XCUITest] Beginning test with command 'xcodebuild test-without-building -xctestrun
[debug] [XCUITest] Output from xcodebuild will not be logged. To change this, use 'showXcodeLog' desired capability
[debug] [XCUITest] Waiting up to 60000ms for WebDriverAgent to start
[debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus'
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:50408/status] with no body
[debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus'
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:50408/status] with no body
[debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus'
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:50408/status] with no body
[debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus'
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:50408/status] with no body
[debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus'
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:50408/status] with no body
[debug] [XCUITest] Log file for xcodebuild test:
[debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus'
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:50408/status] with no body
[debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus'
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:50408/status] with no body
[debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus'
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:50408/status] with no body
[debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus'
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:50408/status] with no body
[debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus'
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:50408/status] with no body
[debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus'
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:50408/status] with no body
[debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus'
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:50408/status] with no body
[debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus'
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:50408/status] with no body
[debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus'
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:50408/status] with no body
[debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus'
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:50408/status] with no body
[debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus'
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:50408/status] with no body
[debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus'
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:50408/status] with no body
[debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus'
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:50408/status] with no body
[debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus'
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:50408/status] with no body
[debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus'
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:50408/status] with no body
[debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus'
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:50408/status] with no body
[debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus'
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:50408/status] with no body
[debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus'
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:50408/status] with no body
[debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus'
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:50408/status] with no body
[debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus'
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:50408/status] with no body
[debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus'
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:50408/status] with no body
[debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus'
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:50408/status] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"state\" : \"success\",\n \"os\" : {\n \"name\" : \"iOS\",\n \"version\" : \"11.0.3\",\n \"sdkVersion\" : \"11.2\"\n },\n \"ios\" : {\n \"simulatorVersion\" : \"11.0.3\",\n \"ip\" : \"192.168.77.57\"\n },\n \"build\" : {\n \"time\" : \"Dec 17 2018 18:09:03\",\n \"productBundleIdentifier\" : \"com.facebook.WebDriverAgentRunner\"\n }\n },\n \"sessionId\" : \"26B50E06-EF53-479C-BE51-F014E988914A\",\n \"status\" : 0\n}"
[debug] [XCUITest] WebDriverAgent information:
[debug] [XCUITest] {
[debug] [XCUITest] "state": "success",
[debug] [XCUITest] "os": {
[debug] [XCUITest] "name": "iOS",
[debug] [XCUITest] "version": "11.0.3",
[debug] [XCUITest] "sdkVersion": "11.2"
[debug] [XCUITest] },
[debug] [XCUITest] "ios": {
[debug] [XCUITest] "simulatorVersion": "11.0.3",
[debug] [XCUITest] "ip": "192.168.77.57"
[debug] [XCUITest] },
[debug] [XCUITest] "build": {
[debug] [XCUITest] "time": "Dec 17 2018 18:09:03",
[debug] [XCUITest] "productBundleIdentifier": "com.facebook.WebDriverAgentRunner"
[debug] [XCUITest] }
[debug] [XCUITest] }
[debug] [XCUITest] WebDriverAgent successfully started after 31703ms
[debug] [BaseDriver] Event 'wdaSessionAttempted' logged at 1545798792243 (11:33:12 GMT+0700 (+07))
[debug] [XCUITest] Sending createSession command to WDA
[debug] [JSONWP Proxy] Matched '/session' to command name 'createSession'
[debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:50408/session] with body: {"desiredCapabilities":{"bundleId":"com.apple.mobilesafari","arguments":["-u","http://appium.io"],"environment":{},"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true}}
[debug] [JSONWP Proxy] Got response with status 200: {"value":{"sessionId":"6886D798-AE31-4EC8-AAF7-AB0EF1D26683","capabilities":{"device":"ipad","browserName":"Safari","sdkVersion":"11.0.3","CFBundleIdentifier":"com.apple.mobilesafari"}},"sessionId":"6886D798-AE31-4EC8-AAF7-AB0EF1D26683","status":0}
[debug] [BaseDriver] Event 'wdaSessionStarted' logged at 1545798797676 (11:33:17 GMT+0700 (+07))
[debug] [BaseDriver] Event 'wdaStarted' logged at 1545798797676 (11:33:17 GMT+0700 (+07))
[debug] [XCUITest] Setting initial orientation to 'PORTRAIT'
[debug] [JSONWP Proxy] Matched '/orientation' to command name 'setOrientation'
[debug] [JSONWP Proxy] Proxying [POST /orientation] to [POST http://localhost:50408/session/6886D798-AE31-4EC8-AAF7-AB0EF1D26683/orientation] with body: {"orientation":"PORTRAIT"}
[debug] [JSONWP Proxy] Got response with status 200: {"value":"Unable To Rotate Device","sessionId":"6886D798-AE31-4EC8-AAF7-AB0EF1D26683","status":777}
[debug] [MJSONWP] Matched JSONWP error code 777 to UnknownError
[XCUITest] Setting initial orientation failed with: An unknown server-side error occurred while processing the command. Original error: Unable To Rotate Device
[debug] [BaseDriver] Event 'orientationSet' logged at 1545798804985 (11:33:24 GMT+0700 (+07))
[debug] [XCUITest] Waiting for initial webview
[debug] [iOS] Waiting for 3000 ms before navigating to view.
[debug] [iOS] Navigating to most recently opened webview
[debug] [iOS] Retrieving contexts and views
[debug] [iOS] Selecting by url: true (expected url: 'http://appium.io')
[debug] [RemoteDebugger] Getting WebKitRemoteDebugger pageArray: localhost, 50406
[debug] [RemoteDebugger] Sending request to: http://localhost:50406/json
[debug] [RemoteDebugger] Page element JSON: [{"devtoolsFrontendUrl":"/devtools/devtools.html?ws=localhost:50406/devtools/page/2","faviconUrl":"","thumbnailUrl":"/thumb/http://appium.io/","title":"Appium: Mobile App Automation Made Awesome.","url":"http://appium.io/","webSocketDebuggerUrl":"ws://localhost:50406/devtools/page/2","appId":"PID:2177"}]
[debug] [iOS] Retrieving contexts and views
[debug] [iOS] Selecting by url: true (expected url: 'http://appium.io')
[debug] [RemoteDebugger] Getting WebKitRemoteDebugger pageArray: localhost, 50406
[debug] [RemoteDebugger] Sending request to: http://localhost:50406/json
[debug] [RemoteDebugger] Page element JSON: [{"devtoolsFrontendUrl":"/devtools/devtools.html?ws=localhost:50406/devtools/page/2","faviconUrl":"","thumbnailUrl":"/thumb/http://appium.io/","title":"Appium: Mobile App Automation Made Awesome.","url":"http://appium.io/","webSocketDebuggerUrl":"ws://localhost:50406/devtools/page/2","appId":"PID:2177"}]
[debug] [iOS] Picking webview 'WEBVIEW_2'
[debug] [iOS] Attempting to set context to 'WEBVIEW_2'
[debug] [RemoteDebugger] WebKit debugger web socket connected to url: ws://localhost:50406/devtools/page/2
[debug] [RemoteDebugger] Starting to listen for JavaScript console
[debug] [RemoteDebugger] Sending WebKit data: {"method":"Console.enable","params":{"objectGroup":"console","includeCommandLineAPI":true,"doNotPauseOnExceptionsAndMuteConsole":true}}
[debug] [RemoteDebugger] Webkit response timeout: 5000
[debug] [RemoteDebugger] Received WebKit data: '{"result":{},"id":1}'
[debug] [RemoteDebugger] Found method 'Console.enable' for '1' message
[debug] [RemoteDebugger] Starting to listen for network events
[debug] [RemoteDebugger] Sending WebKit data: {"method":"Network.enable","params":{"objectGroup":"console","includeCommandLineAPI":true,"doNotPauseOnExceptionsAndMuteConsole":true}}
[debug] [RemoteDebugger] Webkit response timeout: 5000
[debug] [RemoteDebugger] Received WebKit data: '{"result":{},"id":2}'
[debug] [RemoteDebugger] Found method 'Network.enable' for '2' message
[debug] [RemoteDebugger] Unregistering from page readiness notifications
[debug] [BaseDriver] Event 'initialWebviewNavigated' logged at 1545798808067 (11:33:28 GMT+0700 (+07))
[Appium] New XCUITestDriver session created successfully, session fbfac36a-65cd-4567-91b9-af4e6b08839c added to master session list
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1545798808072 (11:33:28 GMT+0700 (+07))
[debug] [MJSONWP] Cached the protocol value 'MJSONWP' for the new session fbfac36a-65cd-4567-91b9-af4e6b08839c
[debug] [MJSONWP] Responding to client with driver.createSession() result: {"webStorageEnabled":false,"locationContextEnabled":false,"browserName":"safari","platform":"MAC","javascriptEnabled":true,"databaseEnabled":false,"takesScreenshot":true,"networkConnectionEnabled":false,"udid":"84ff77d9f4a049ee4dd697f0074f01c4ab8f2657","automationName":"XCUITest","wdaLocalPort":50408,"useXctestrunFile":true,"xctestrunFilePath":"WebDriverAgent.xctestrun","launchTimeout":20000, "deviceName":"*","nativeWebTap":true,"newCommandTimeout":200,"autoGrantPermissions":true,"captureScreenshots":true,"deviceOrientation":"portrait","platformName":"iOS","showSafariNetworkLog":true, "noReset":true,"fullReset":false,"orientation":"PORTRAIT"}
[HTTP] <-- POST /wd/hub/session 200 56018 ms - 980
[HTTP] 
[debug] [RemoteDebugger] Received WebKit data: '{"method":"Network.requestWillBeSent","params":{"requestId":"0.46","frameId":"0.2","loaderId":"0.1","documentURL":"https://www.youtube.com/embed/WIuaT6nV9C4","request":{"url":"https://www.youtube.c...'
[debug] [RemoteDebugger] Found method 'Network.requestWillBeSent'
[HTTP] --> GET /wd/hub/session/fbfac36a-65cd-4567-91b9-af4e6b08839c
[HTTP] {}
[debug] [MJSONWP] Calling AppiumDriver.getSession() with args: ["fbfac36a-65cd-4567-91b9-af4e6b08839c"]
[debug] [XCUITest] Executing command 'getSession'
[debug] [JSONWP Proxy] Matched '/' to command name 'getSession'
[debug] [JSONWP Proxy] Proxying [GET /] to [GET http://localhost:50408/session/6886D798-AE31-4EC8-AAF7-AB0EF1D26683] with no body
[debug] [RemoteDebugger] Received WebKit data: '{"method":"Network.responseReceived","params":{"requestId":"0.46","frameId":"0.2","loaderId":"0.1","timestamp":0,"type":"XHR","response":{"url":"https://www.youtube.com/youtubei/v1/log_event?alt=js...'
[debug] [RemoteDebugger] Found method 'Network.responseReceived'
[debug] [RemoteDebugger] Received WebKit data: '{"method":"Network.dataReceived","params":{"requestId":"0.46","timestamp":0,"dataLength":28,"encodedDataLength":28}}'
[debug] [RemoteDebugger] Found method 'Network.dataReceived'
[debug] [RemoteDebugger] Received WebKit data: '{"method":"Network.loadingFinished","params":{"requestId":"0.46","timestamp":0.27886903285980225,"metrics":{"protocol":"h2","priority":"medium","remoteAddress":"74.125.21.190:443","connectionIdenti...'
[debug] [RemoteDebugger] Found method 'Network.loadingFinished'
[debug] [SafariNetwork] Network event:
[debug] [SafariNetwork] Id: 0.46
[debug] [SafariNetwork] Name: log_event??alt=json&key=AIzaSyAO_FJ2SlqU8Q4STEHLGCilw_Y9_11qcW8
[debug] [SafariNetwork] Status: 200
[debug] [SafariNetwork] Type: XHR
[debug] [SafariNetwork] Initiator: script
uncaughtException: _lodash2.default.truncate(...).padEnd is not a function
{"date":"Wed Dec 26 2018 11:33:33 GMT+0700 (+07)","process":{"pid":73491,"uid":503,"gid":20,"cwd":"/","execPath":"r","version":"v7.4.0","argv":["","","--port","50407","--default-capabilities","{\"udid\":\"84ff77d9f4a049ee4dd697f0074f01c4ab8f2657\",\"automationName\":\"XCUITest\",\"wdaLocalPort\":50408,\"useXctestrunFile\":true,\"xctestrunFilePath\":\"/Users/kobiton-devops/Library/Application Support/Kobiton/kobies/d-84ff77d9f4a049ee4dd697f0074f01c4ab8f2657-1545728137045/WebDriverAgent/WebDriverAgent.xctestrun\"}","--address","127.0.0.1","--command-timeout","60","--relaxed-security","--tmp","/Users/kobiton-devops/Library/Application Support/Kobiton/kobies/d-84ff77d9f4a049ee4dd697f0074f01c4ab8f2657-1545728137045/appium","--launch-timeout","20000","--webkit-debug-proxy-port","50406"],"memoryUsage":{"rss":130510848,"heapTotal":87318528,"heapUsed":79855400,"external":166397}},"os":{"loadavg":[18.927734375,19.25634765625,19.89306640625],"uptime":2224469},"trace":[{"column":68,"file":"/node_modules/appium/node_modules/appium-xcuitest-driver/lib/device-log/safari-network-log.js","function":"SafariNetworkLog.printLogLine","line":163,"method":"printLogLine","native":false},{"column":12,"file":"/node_modules/appium/node_modules/appium-xcuitest-driver/lib/device-log/safari-network-log.js","function":"SafariNetworkLog.addLogLine","line":93,"method":"addLogLine","native":false},{"column":16,"file":"/node_modules/appium/node_modules/appium-remote-debugger/lib/webkit-rpc-client.js","function":"WebKitRpcClient.receive","line":181,"method":"receive","native":false},{"column":13,"file":"events.js","function":"emitOne","line":96,"method":null,"native":false},{"column":7,"file":"events.js","function":"WebSocket.emit","line":188,"method":"emit","native":false},{"column":20,"file":"/node_modules/appium/node_modules/ws/lib/websocket.js","function":"Receiver.receiverOnMessage","line":719,"method":"receiverOnMessage","native":false},{"column":13,"file":"events.js","function":"emitOne","line":96,"method":null,"native":false},{"column":7,"file":"events.js","function":"Receiver.emit","line":188,"method":"emit","native":false},{"column":14,"file":"/node_modules/appium/node_modules/ws/lib/receiver.js","function":"Receiver.dataMessage","line":414,"method":"dataMessage","native":false},{"column":17,"file":"/node_modules/appium/node_modules/ws/lib/receiver.js","function":"Receiver.getData","line":346,"method":"getData","native":false},{"column":22,"file":"/node_modules/appium/node_modules/ws/lib/receiver.js","function":"Receiver.startLoop","line":133,"method":"startLoop","native":false},{"column":10,"file":"/node_modules/appium/node_modules/ws/lib/receiver.js","function":"Receiver._write","line":69,"method":"_write","native":false},{"column":12,"file":"_stream_writable.js","function":"doWrite","line":332,"method":null,"native":false},{"column":5,"file":"_stream_writable.js","function":"writeOrBuffer","line":318,"method":null,"native":false},{"column":11,"file":"_stream_writable.js","function":"Receiver.Writable.write","line":245,"method":"write","native":false},{"column":35,"file":"/node_modules/appium/node_modules/ws/lib/websocket.js","function":"Socket.socketOnData","line":794,"method":"socketOnData","native":false},{"column":13,"file":"events.js","function":"emitOne","line":96,"method":null,"native":false},{"column":7,"file":"events.js","function":"Socket.emit","line":188,"method":"emit","native":false},{"column":18,"file":"_stream_readable.js","function":"readableAddChunk","line":176,"method":null,"native":false},{"column":10,"file":"_stream_readable.js","function":"Socket.Readable.push","line":134,"method":"push","native":false},{"column":20,"file":"net.js","function":"TCP.onread","line":551,"method":"onread","native":false}],"stack":["TypeError: _lodash2.default.truncate(...).padEnd is not a function"," at SafariNetworkLog.printLogLine (/node_modules/appium/node_modules/appium-xcuitest-driver/lib/device-log/safari-network-log.js:163:68)"," at SafariNetworkLog.addLogLine (/node_modules/appium/node_modules/appium-xcuitest-driver/lib/device-log/safari-network-log.js:93:12)"," at WebKitRpcClient.receive (/node_modules/appium/node_modules/appium-remote-debugger/lib/webkit-rpc-client.js:181:16)"," at emitOne (events.js:96:13)"," at WebSocket.emit (events.js:188:7)"," at Receiver.receiverOnMessage (/node_modules/appium/node_modules/ws/lib/websocket.js:719:20)"," at emitOne (events.js:96:13)"," at Receiver.emit (events.js:188:7)"," at Receiver.dataMessage (/node_modules/appium/node_modules/ws/lib/receiver.js:414:14)"," at Receiver.getData (/node_modules/appium/node_modules/ws/lib/receiver.js:346:17)"," at Receiver.startLoop (/node_modules/appium/node_modules/ws/lib/receiver.js:133:22)"," at Receiver._write (/node_modules/appium/node_modules/ws/lib/receiver.js:69:10)"," at doWrite (_stream_writable.js:332:12)"," at writeOrBuffer (_stream_writable.js:318:5)"," at Receiver.Writable.write (_stream_writable.js:245:11)"," at Socket.socketOnData (/node_modules/appium/node_modules/ws/lib/websocket.js:794:35)"," at emitOne (events.js:96:13)"," at Socket.emit (events.js:188:7)"," at readableAddChunk (_stream_readable.js:176:18)"," at Socket.Readable.push (_stream_readable.js:134:10)"," at TCP.onread (net.js:551:20)"]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment