Skip to content

Instantly share code, notes, and snippets.

View imurchie's full-sized avatar

Isaac A. Murchie imurchie

  • Brooklyn, New York
View GitHub Profile
$ PLATFORM_VERSION=12.0 DEVICE_NAME="iPhone 6" _FORCE_LOGS=1 npm run e2e-test 8.10.0
> appium-xcuitest-driver@2.91.0 e2e-test /Users/isaacmurchie/code/appium-xcuitest-driver
> gulp e2e-test
[15:14:51] Using gulpfile ~/code/appium-xcuitest-driver/gulpfile.js
[15:14:51] Starting 'transpile'...
[15:15:03] Finished 'transpile' after 12 s
[15:15:03] Starting 'e2e-test'...
[15:15:03] Finished 'e2e-test' after 1.05 ms
@imurchie
imurchie / webDriverAgentUrl-set.md
Last active November 16, 2018 12:55
XCUITest-based iOS real device test

Capabilities set:

  • webDriverAgentUrl
  • clearSystemFiles (false)

command: whoami

stacktrace:

@imurchie
imurchie / source.xml
Created September 11, 2019 16:59
Source after scroll gesture
<?xml version="1.0" encoding="UTF-8"?><AppiumAUT><XCUIElementTypeApplication type="XCUIElementTypeApplication" name="UIKitCatalog" label="UIKitCatalog" enabled="true" visible="true" x="0" y="0" width="375" height="667">
<XCUIElementTypeWindow type="XCUIElementTypeWindow" enabled="true" visible="true" x="0" y="0" width="375" height="667">
<XCUIElementTypeOther type="XCUIElementTypeOther" enabled="true" visible="true" x="0" y="0" width="375" height="667">
<XCUIElementTypeOther type="XCUIElementTypeOther" enabled="true" visible="true" x="0" y="0" width="375" height="667">
<XCUIElementTypeOther type="XCUIElementTypeOther" enabled="true" visible="true" x="0" y="0" width="375" height="667">
<XCUIElementTypeOther type="XCUIElementTypeOther" enabled="true" visible="true" x="0" y="0" width="375" height="667">
<XCUIElementTypeOther type="XCUIElementTypeOther" enabled="true" visible="true" x="0" y="0" width="375" height="667">
<XCUIElementTypeNavigationBar type="XC
@imurchie
imurchie / appium-logs.txt
Created September 11, 2019 17:00
Visibility fails to be updated
PLATFORM_VERSION=13.0 DEVICE_NAME="iPhone 8" npm run e2e-test:basic
> appium-xcuitest-driver@2.129.0 e2e-test:basic /Users/isaac/code/appium-xcuitest-driver
> npm run build && _FORCE_LOGS=1 npm run mocha -- -t 0 -R spec build/test/functional/basic --exit
> appium-xcuitest-driver@2.129.0 build /Users/isaac/code/appium-xcuitest-driver
> gulp transpile
[12:48:37] Using gulpfile ~/code/appium-xcuitest-driver/gulpfile.js
@imurchie
imurchie / source.xml
Created January 7, 2020 15:21
iOS 13.3 iPhone X SafariViewController Native Source
<?xml version="1.0" encoding="UTF-8"?><AppiumAUT><XCUIElementTypeApplication type="XCUIElementTypeApplication" name="SafariViewControllerExample" label="SafariViewControllerExample" enabled="true" visible="true" x="0" y="0" width="375" height="812">
<XCUIElementTypeWindow type="XCUIElementTypeWindow" enabled="true" visible="true" x="0" y="0" width="375" height="812">
<XCUIElementTypeOther type="XCUIElementTypeOther" enabled="true" visible="true" x="0" y="0" width="375" height="812">
<XCUIElementTypeOther type="XCUIElementTypeOther" enabled="true" visible="true" x="0" y="0" width="375" height="812">
<XCUIElementTypeOther type="XCUIElementTypeOther" enabled="true" visible="false" x="0" y="0" width="375" height="812">
<XCUIElementTypeNavigationBar type="XCUIElementTypeNavigationBar" enabled="true" visible="false" x="0" y="44" width="375" height="44"/>
<XCUIElementTypeToolbar type="XCUIElementTypeToolbar" name="Toolbar" enabled="true" visible="false" x="0" y="729" width="37
@imurchie
imurchie / install.log
Created May 7, 2019 15:00
mjpeg-consumer install error on Node 12
npm install --no-save mjpeg-consumer  ✔  12.1.0 ⬢  10:58:03
> buffertools@2.1.6 install /Users/isaac/code/appium-support/node_modules/buffertools
> node-gyp rebuild
CXX(target) Release/obj.target/buffertools/buffertools.o
../buffertools.cc:32:11: error: no member named 'Handle' in namespace 'v8'
using v8::Handle;
~~~~^
../buffertools.cc:141:25: error: no matching member function for call to 'ToObject'
@imurchie
imurchie / alert-with-close-button.xml
Created March 24, 2020 15:56
Various alerts, iPhone 13.3.1
<?xml version="1.0" encoding="UTF-8"?>
<AppiumAUT>
<XCUIElementTypeApplication type="XCUIElementTypeApplication" name="Safari" label="Safari" enabled="true" visible="true" x="0" y="0" width="375" height="812">
<XCUIElementTypeWindow type="XCUIElementTypeWindow" enabled="true" visible="true" x="0" y="0" width="375" height="812">
<XCUIElementTypeOther type="XCUIElementTypeOther" enabled="true" visible="true" x="0" y="0" width="375" height="812">
<XCUIElementTypeOther type="XCUIElementTypeOther" enabled="true" visible="true" x="0" y="0" width="375" height="812">
<XCUIElementTypeOther type="XCUIElementTypeOther" name="825CC48C-B339-4008-BDFD-84B7B5F42F38" enabled="true" visible="true" x="0" y="0" width="375" height="812">
<XCUIElementTypeOther type="XCUIElementTypeOther" enabled="true" visible="true" x="0" y="44" width="375" height="768">
<XCUIElementTypeOther type="XCUIElementTypeOther" enabled="true" visible="true" x="0" y="44" width="375" height="768">
@imurchie
imurchie / alert-with-close-button.xml
Created March 24, 2020 16:15
Various alerts, iPad Pro (9.7 inch) 13.3.1
<?xml version="1.0" encoding="UTF-8"?>
<AppiumAUT>
<XCUIElementTypeApplication type="XCUIElementTypeApplication" name="Safari" label="Safari" enabled="true" visible="true" x="0" y="0" width="768" height="1024">
<XCUIElementTypeWindow type="XCUIElementTypeWindow" enabled="true" visible="true" x="0" y="0" width="768" height="1024">
<XCUIElementTypeOther type="XCUIElementTypeOther" enabled="true" visible="true" x="0" y="0" width="768" height="1024">
<XCUIElementTypeOther type="XCUIElementTypeOther" enabled="true" visible="true" x="0" y="0" width="768" height="1024">
<XCUIElementTypeOther type="XCUIElementTypeOther" name="DDF70396-8F4B-46A5-8B75-18ACD10578EF" enabled="true" visible="true" x="0" y="0" width="768" height="1024">
<XCUIElementTypeOther type="XCUIElementTypeOther" enabled="true" visible="true" x="0" y="20" width="768" height="1004">
<XCUIElementTypeOther type="XCUIElementTypeOther" enabled="true" visible="true" x="0" y="20" width="768" height="10
$ PLATFORM_VERSION=13.3 DEVICE_NAME="iPhone 11 Pro" _LOG_TIMESTAMP=1 npm run e2e-test:web
> appium-xcuitest-driver@3.18.0 e2e-test:web /Users/isaacmurchie/code/appium-xcuitest-driver
> npm run build && _FORCE_LOGS=1 npm run mocha -- -t 0 -R spec build/test/functional/web --exit
> appium-xcuitest-driver@3.18.0 build /Users/isaacmurchie/code/appium-xcuitest-driver
> gulp transpile
[09:28:06] Using gulpfile ~/code/appium-xcuitest-driver/gulpfile.js
$ PLATFORM_VERSION=13.3 DEVICE_NAME="iPhone 11 Pro" _LOG_TIMESTAMP=1 npm run e2e-test:web
> appium-xcuitest-driver@3.18.0 e2e-test:web /Users/isaacmurchie/code/appium-xcuitest-driver
> npm run build && _FORCE_LOGS=1 npm run mocha -- -t 0 -R spec build/test/functional/web --exit
> appium-xcuitest-driver@3.18.0 build /Users/isaacmurchie/code/appium-xcuitest-driver
> gulp transpile
[09:28:06] Using gulpfile ~/code/appium-xcuitest-driver/gulpfile.js