Skip to content

Instantly share code, notes, and snippets.

View jeangb's full-sized avatar

Jean Gouyou-Beauchamps jeangb

  • Rennes, France
View GitHub Profile
tap:
[HTTP] --> POST /wd/hub/session/8780ab03-b676-4bdc-acad-72a0074a06b1/touch/perform {"actions":[{"action":"tap","options":{"x":0,"y":249}}]}
[debug] [MJSONWP] Calling AppiumDriver.performTouch() with args: [[{"action":"tap","options":{"x":0,"y":249}}],"8780ab03-b676-4bdc-acad-72a0074a06b1"]
[debug] [XCUITest] Executing command 'performTouch'
[debug] [XCUITest] Received the following touch action: tap(options={"x":0,"y":249})
[debug] [XCUITest] Found matching gesture: tap
[debug] [JSONWP Proxy] Proxying [POST /wda/tap/0] to [POST http://localhost:8100/session/45F93E36-85E7-4517-98E5-2BE4FAF9C0DB/wda/tap/0] with body: {"x":0,"y":249}
[debug] [JSONWP Proxy] Got response with status 200: {"value":{},"sessionId":"45F93E36-85E7-4517-98E5-2BE4FAF9C0DB","status":0}
[debug] [MJSONWP] Responding to client with driver.performTouch() result: null
[HTTP] <-- POST /wd/hub/session/8780ab03-b676-4bdc-acad-72a0074a06b1/touch/perform 200 1601 ms - 76
[HTTP] --> POST /wd/hub/session/8780ab03-b676-4bdc-acad-72a0074a06b1/element/BECA5BE7-9FE8-45A8-B7D9-0D03FE44EC41/click {"id":"BECA5BE7-9FE8-45A8-B7D9-0D03FE44EC41"}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [XCUITest] Executing command 'proxyReqRes'
[debug] [JSONWP Proxy] Proxying [POST /wd/hub/session/8780ab03-b676-4bdc-acad-72a0074a06b1/element/BECA5BE7-9FE8-45A8-B7D9-0D03FE44EC41/click] to [POST http://localhost:8100/session/45F93E36-85E7-4517-98E5-2BE4FAF9C0DB/element/BECA5BE7-9FE8-45A8-B7D9-0D03FE44EC41/click] with body: {"id":"BECA5BE7-9FE8-45A8-B7D9-0D03FE44EC41"}
[debug] [JSONWP Proxy] Got response with status 200: {"status":0,"id":"BECA5BE7-9FE8-45A8-B7D9-0D03FE44EC41","value":"","sessionId":"45F93E36-85E7-4517-98E5-2BE4FAF9C0DB"}
[JSONWP Proxy] Replacing sessionId 45F93E36-85E7-4517-98E5-2BE4FAF9C0DB with 8780ab03-b676-4bdc-acad-72a0074a06b1
[HTTP] <-- POST /wd/hub/session/8780ab03-b676-4bdc-acad-72a0074a06b1/element/BECA5BE7-9FE8-45A8-B7D9-0D03FE44EC41/click 200 2196
@jeangb
jeangb / gist:3bc5dbd6a2b7333e875531ae832f96f2
Created January 5, 2017 09:45
2nd server for test using 2 different devices
[Appium] Welcome to Appium v1.6.3
[Appium] Non-default server args:
[Appium] address: '127.0.0.1'
[Appium] port: 8080
[Appium] Appium REST http interface listener started on 127.0.0.1:8080
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"noReset":true,"bundleId":"im.vector.app","autoDismissAlerts":false,"xcodeConfigFile":"/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/Configurations/ProjectSettings.xcconfig","deviceName":"iPhone","fullReset":false,"platformVersion":"10.0.2","automationName":"XCUITest","keychainPath":"/Users/matrix/Library/Keychains/appiumKeychain.keychain","keychainPassword":"appium6754","platformName":"iOS","udid":"2a418a9dbcd960d904a501bf558120625f96f409"}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"noReset":true,"bundleId":"im.vector.app","autoDismissAlerts":false,"xcodeConfigFile":"/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/Configurations/ProjectSettings.xcconfig","devic
@jeangb
jeangb / gist:967252b461e709962796c1a26447004d
Created January 3, 2017 16:10
XCUIElement+FBIsVisible.m
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#import "XCUIElement+FBIsVisible.h"
Gioms-Air:WebDriverAgent matrix$ xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination 'id=e75c0085c74a872846772a6b2ee56a86849a4d92' test
2016-12-13 18:06:50.491 xcodebuild[1863:25601] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
/Users/matrix/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/190F9209-76C5-433D-9D18-37588CD0E25A/Session-WebDriverAgentRunner-2016-12-13_180650-RUiLQr.log
2016-12-13 18:06:50.492 xcodebuild[1863:25585] [MT] IDETestOperationsObserverDebug: (C48040C6-5F03-4372-B674-091F26EB59AA) Beginning test session WebDriverAgentRunner-C48040C6-5F03-4372-B674-091F26EB59AA at 2016-12-13 18:06:50.490 with Xcode 8B62 on target <DVTiOSDevice: 0x7fe9c3655aa0> {
deviceSerialNumber: F2LNCLGBG5QQ
identifier: e75c0085c74a872846772a6b2ee56a86849a4d92
deviceClass: iPhone
deviceName: STZ_DE_13243
deviceIdentifier: e75c0085c74a8728
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"noReset":true,"xcodeConfigfile":"/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/Configurations/ProjectSettings.xcconfig","realDeviceLogger":"/usr/local/lib/node_modules/deviceconsole/deviceconsole","platformVersion":"9.3.5","bundleId":"im.vector.app","automationName":"XCUITest","platformName":"iOS","udid":"e75c0085c74a872846772a6b2ee56a86849a4d92","deviceName":"STZ_DE_13243","fullReset":false},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null]
[Appium] Creating new XCUITestDriver session
[Appium] Capabilities:
[Appium] noReset: true
[Appium] xcodeConfigfile: '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/Configurations/ProjectSettings.xcconfig'
[Appium] realDeviceLogger: '/usr/local/lib/node_modules/deviceconsole/deviceconsole'
[Appium] platformVersion: '9.3.5'
[Appium] bundleId: 'im.v
=== BUILD TARGET WebDriverAgentLib OF PROJECT WebDriverAgent WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET WebDriverAgentRunner OF PROJECT WebDriverAgent WITH CONFIGURATION Debug ===
Check dependencies
** BUILD SUCCEEDED **
[Appium] Welcome to Appium v1.6.3
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"noReset":true,"xcodeConfigfile":"/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/Configurations/ProjectSettings.xcconfig","realDeviceLogger":"/usr/local/lib/node_modules/deviceconsole/deviceconsole","platformVersion":"9.3.5","bundleId":"im.vector.app","automationName":"XCUITest","autoDismissAlerts":false,"platformName":"iOS","udid":"e75c0085c74a872846772a6b2ee56a86849a4d92","deviceName":"STZ_DE_13243","fullReset":false}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"noReset":true,"xcodeConfigfile":"/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/Configurations/ProjectSettings.xcconfig","realDeviceLogger":"/usr/local/lib/node_modules/deviceconsole/deviceconsole","platformVersion":"9.3.5","bundleId":"im.vector.app","automationName":"XCUITest","autoDismissAl
bundle.2fa3b4ef0ea5fed9229c.js:1 Vector starting at https://riot.im/app/#/room/!xOdADrXrEPOeqsWNqS:matrix.org
bundle.2fa3b4ef0ea5fed9229c.js:1 Routing URL https://riot.im/app/#/room/!xOdADrXrEPOeqsWNqS:matrix.org
bundle.2fa3b4ef0ea5fed9229c.js:85 Restoring session for @jeangb:matrix.org
bundle.2fa3b4ef0ea5fed9229c.js:85 setLoggedIn => @jeangb:matrix.org (guest=false) hs=https://matrix.org
bundle.2fa3b4ef0ea5fed9229c.js:85 Session persisted for @jeangb:matrix.org
bundle.2fa3b4ef0ea5fed9229c.js:113 SyncApi.sync: starting with sync token null
bundle.2fa3b4ef0ea5fed9229c.js:1 newscreen
bundle.2fa3b4ef0ea5fed9229c.js:84 Got TURN URIs: turn:turn.matrix.org:3478?transport=udp,turn:turn.matrix.org:3478?transport=tcp,turns:turn-ssl.matrix.org:443?transport=tcp refresh in 86400 secs
bundle.2fa3b4ef0ea5fed9229c.js:113 Got push rules
bundle.2fa3b4ef0ea5fed9229c.js:85 Presence: online
olmlib.js:183 No one-time keys (alg=signed_curve25519) for device @jeangb:matrix.org:GYKWYYIJMD(anonymous function) @ olmlib.js:183_fulfilled @ q.js:834self.promiseDispatch.done @ q.js:863Promise.promise.promiseDispatch @ q.js:796(anonymous function) @ q.js:604runSingle @ q.js:137flush @ q.js:125onNextTick @ main.js:64Item.run @ browser.js:153drainQueue @ browser.js:123
olmlib.js:183 No one-time keys (alg=signed_curve25519) for device @jeangb:matrix.org:UOHACDFZUK(anonymous function) @ olmlib.js:183_fulfilled @ q.js:834self.promiseDispatch.done @ q.js:863Promise.promise.promiseDispatch @ q.js:796(anonymous function) @ q.js:604runSingle @ q.js:137flush @ q.js:125onNextTick @ main.js:64Item.run @ browser.js:153drainQueue @ browser.js:123
olmlib.js:183 No one-time keys (alg=signed_curve25519) for device @jeangb:matrix.org:UVJHAXJISK(anonymous function) @ olmlib.js:183_fulfilled @ q.js:834self.promiseDispatch.done @ q.js:863Promise.promise.promiseDispatch @ q.js:796(anonymous function) @ q.js:604runSingle @ q.js: