Skip to content

Instantly share code, notes, and snippets.

2024-09-18 14:53:33:943 [Appium] Welcome to Appium v2.10.3 (REV d4a970115d0189519496851fa92e136e134104f1)
2024-09-18 14:53:33:945 [Appium] Non-default server args:
2024-09-18 14:53:33:946 [Appium] { basePath: '/wd/hub' }
2024-09-18 14:53:33:947 [Appium] The autodetected Appium home path: /Users/saikrishna/Downloads/git/appium-flutter-integration-driver
2024-09-18 14:53:33:947 [Appium] Attempting to load driver flutter-integration...
2024-09-18 14:53:33:947 [Appium] Attempting to load driver xcuitest...
2024-09-18 14:53:33:947 [Appium] Attempting to load driver uiautomator2...
2024-09-18 14:53:33:948 [Appium] Requiring driver at /Users/saikrishna/Downloads/git/appium-flutter-integration-driver/build/src/driver.js
2024-09-18 14:53:33:949 [Appium] Requiring driver at /Users/saikrishna/Downloads/git/appium-flutter-integration-driver/node_modules/appium-xcuitest-driver/build/index.js
2024-09-18 14:53:33:949 [Appium] Requiring driver at /Users/saikrishna/Downloads/git/appium-flutter-integration-driver/node_modules/
"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(e,i,r,s){void 0===s&&(s=r);var t=Object.getOwnPropertyDescriptor(i,r);t&&("get"in t?i.__esModule:!t.writable&&!t.configurable)||(t={enumerable:!0,get:function(){return i[r]}}),Object.defineProperty(e,s,t)}:function(e,i,r,s){e[s=void 0===s?r:s]=i[r]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(e,i){Object.defineProperty(e,"default",{enumerable:!0,value:i})}:function(e,i){e.default=i}),__importStar=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var i={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&__createBinding(i,e,r);return __setModuleDefault(i,e),i},__awaiter=this&&this.__awaiter||function(e,n,a,l){return new(a=a||Promise)(function(r,i){function s(e){try{o(l.next(e))}catch(e){i(e)}}function t(e){try{o(l.throw(e))}catch(e){i(e)}}function o(e){var i;e.done?r(e.value):((i=e.value)instanceof a?i:new a(function(e){e(i)})).then(s,t)}o((l=l.app
[mitmproxy-node plugin] Unexpected error: (<class 'TypeError'>, TypeError("'Lock' object is not iterable"), <traceback object at 0x103db7bc0>)
Traceback (most recent call last):
File "/Users/saikrishna/Downloads/git/mitproxyappium/node_modules/mitmproxy/scripts/proxy.py", line 224, in websocket_loop
await websocket.ping()
File "/Users/saikrishna/Library/Python/3.9/lib/python/site-packages/websockets/protocol.py", line 456, in ping
yield from self.write_frame(OP_PING, data)
File "/Users/saikrishna/Library/Python/3.9/lib/python/site-packages/websockets/protocol.py", line 740, in write_frame
with (yield from self._drain_lock):
TypeError: 'Lock' object is not iterable
{"capabilities":{"alwaysMatch":{"platformName":"iOS","appium:automationName":"XCUITest","appium:iPhoneOnly":true,"appium:bundleId":"com.devicefarm.HelloWorld","appium:usePrebuiltWDA":true,"appium:updatedWDABundleId":"com.demo.wda.xctrunner","appium:platformVersion":"16.1"},"firstMatch":[{}]},"desiredCapabilities":{"platformName":"iOS","appium:automationName":"XCUITest","appium:iPhoneOnly":true,"appium:bundleId":"com.devicefarm.HelloWorld","appium:usePrebuiltWDA":true,"appium:updatedWDABundleId":"com.demo.wda.xctrunner","appium:platformVersion":"16.1"}}
[debug] [AppiumDriver@81a4] Calling AppiumDriver.createSession() with args: [{"platformName":"iOS","appium:automationName":"XCUITest","appium:iPhoneOnly":true,"appium:bundleId":"com.devicefarm.HelloWorld","appium:usePrebuiltWDA":true,"appium:updatedWDABundleId":"com.demo.wda.xctrunner","appium:platformVersion":"16.1"},null,{"alwaysMatch":{"platformName":"iOS","appium:automationName":"XCUITest","appium:iPhoneOnly":true,"appium:bundleId":"com.devicefarm.HelloWor
'use strict';
const Mocha = require('mocha');
const shelljs = require('shelljs');
const chalk = require('chalk');
const {
EVENT_TEST_BEGIN,
EVENT_RUN_END,
EVENT_TEST_FAIL,
EVENT_TEST_PASS,
const path = require('path');
const opener = require('opener');
const Reporting = require('perfecto-reporting');
var reportingClient;
//1. Replace <<cloud name>> with your perfecto cloud name (e.g. demo is the cloudName of demo.perfectomobile.com).
const host = 'trial';
// 2. Replace <<security token>> with your perfecto security token.
const securityToken = '';
//Define your global tags here:
appium server -ka 800 --plugins=device-farm -pa /wd/hub --plugin-args='{"device-farm": {"Platform": "Android" }}'
[Appium] Attempting to load plugin device-farm...
[device-farm] Device Dashboard listening at http://localhost:3333
[Appium] Welcome to Appium v2.0.0-beta.18
[Appium] Non-default server args:
[Appium] plugins: {
[Appium] 0: device-farm
[Appium] }
[Appium] basePath: /wd/hub
[Appium] keepAliveTimeout: 800
[device-farm] Fetching Android Devices
[debug] [ADB] Getting connected devices
[debug] [ADB] Connected devices: [{"udid":"emulator-5554","state":"device"}]
[debug] [ADB] Running '/Users/saikrisv/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell getprop ro.build.version.release'
[debug] [ADB] Running '/Users/saikrisv/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell getprop ro.build.characteristics'
[debug] [ADB] Running '/Users/saikrisv/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell getprop ro.product.name'
[device-farm] Android Devices found [{"busy":false,"state":"device","udid":"emulator-5554","platform":"android","sdk":"11","realDevice":false,"name":"sdk_phone_x86"}]
[device-farm] Fetching iOS Devices
[HTTP] --> POST /wd/hub/session
[HTTP] {"capabilities":{"alwaysMatch":{"platformName":"Android","appium:uiautomator2ServerInstallTimeout":"50000","appium:automationName":"UIAutomator2","appium:app":"/Users/saikrisv/Documents/git/AppiumSample/VodQ
2020-06-27T09:48:59.4018620Z Jun 27, 2020 9:48:59 AM com.appium.manager.LocalAppiumManager startAppiumServer
2020-06-27T09:48:59.4120960Z INFO: LocalAppiumManagerStarting Appium Server on Localhost
2020-06-27T09:48:59.4222510Z Picking Default Path for AppiumServiceBuilder
2020-06-27T09:48:59.8050660Z SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
2020-06-27T09:48:59.8073170Z SLF4J: Defaulting to no-operation (NOP) logger implementation
2020-06-27T09:48:59.8173420Z SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
2020-06-27T09:49:01.1125820Z [Appium] Welcome to Appium v1.17.1
2020-06-27T09:49:01.1176270Z [Appium] Non-default server args:
2020-06-27T09:49:01.1219450Z [Appium] address: 127.0.0.1
2020-06-27T09:49:01.1220410Z [Appium] port: 17469
[debug] [GENERIC] Responding to client with driver.getStatus() result: {"build":{"version":"1.17.1"}}
Jun 27, 2020 9:58:52 AM com.appium.manager.LocalAppiumManager startAppiumServer
INFO: LocalAppiumManagerAppium Server Started at......http://127.0.0.1:3966/wd/hub
Jun 27, 2020 9:58:52 AM com.appium.manager.DeviceAllocationManager allocateDevice
INFO: Allocated Device com.appium.manager.AppiumDevice@3a887224 for Execution
Jun 27, 2020 9:58:52 AM com.appium.manager.DeviceAllocationManager allocateDevice
INFO: Allocated Device com.appium.manager.AppiumDevice@35349a0f for Execution
[HTTP] <-- GET /wd/hub/status 200 15 ms - 68
[HTTP]
Jun 27, 2020 9:58:52 AM com.appium.manager.AppiumDriverManager initialiseDriver