This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
iOSController._getPageSource = function (cb) { | |
if (this.isWebContext()) { | |
this.processingRemoteCmd = true; | |
var cmd = 'document.getElementsByTagName("html")[0].outerHTML'; | |
this.remote.execute(cmd, function (err, res) { | |
if (err) { | |
cb("Remote debugger error", { | |
status: status.codes.UnknownError.code | |
, value: res | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ appium git:(master) ./bin/test.sh --ios6 --no-xcode-switch | |
/usr/bin/xcode-select | |
RUNNING IOS 6.1 TESTS | |
--------------------- | |
settings | |
✓ should return a settings object even if none specified (69ms) | |
✓ should be able to store a setting (89ms) | |
✓ should overwrite new settings (351ms) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ appium git:(master) node . | |
info: Welcome to Appium v1.3.4 (REV 28425e9a316a2f649b79d67df442adce86d7aa7b) | |
info: Appium REST http interface listener started on 0.0.0.0:4723 | |
info: Console LogLevel: debug | |
info: --> POST /wd/hub/session {"desiredCapabilities":{"browserName":"safari","appium-version":"1.3","platformName":"iOS","platformVersion":"8.1","deviceName":"iPhone Simulator"}} | |
info: Client User-Agent string: undefined | |
info: [debug] The following desired capabilities were provided, but not recognized by appium. They will be passed on to any other services running on this server. : appium-version | |
info: [debug] Configuring Safari session | |
info: [debug] We're on iOS8+ so not copying mobile safari app | |
info: [debug] Creating new appium session 11706c52-f5ab-4d98-bca8-9e0d0096f5d9 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ instruments-without-delay git:(master) ./build.sh test | |
Build settings from command line: | |
CONFIGURATION_BUILD_DIR = /Users/baba/Work/instruments-without-delay/build | |
SDKROOT = iphonesimulator8.1 | |
=== BUILD TARGET DTMobileISShim OF PROJECT DTMobileISShim WITH CONFIGURATION Release === | |
Check dependencies | |
=== BUILD TARGET ScriptAgentShim OF PROJECT ScriptAgentShim WITH CONFIGURATION Release === |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ appium git:(c8c79a8) node . | |
info: Welcome to Appium v1.3.4 (REV c8c79a85fbd6870cd6fc3d66d038a115ebe22efe) | |
info: Appium REST http interface listener started on 0.0.0.0:4723 | |
info: Console LogLevel: debug | |
info: --> POST /wd/hub/session {"desiredCapabilities":{"appium-version":"1.3","deviceName":"GK025917 iPade","platformName":"iOS","platformVersion":"8.2","browserName":"safari","udid":"94c8f29b955e4c73613d9e54ee83e1b71d599d94","noReset":true,"forceIpad":true}} | |
info: Client User-Agent string: undefined | |
info: [debug] The following desired capabilities were provided, but not recognized by appium. They will be passed on to any other services running on this server. : appium-version, forceIpad | |
info: [debug] Configuring Safari session | |
info: [debug] Using local .zip from command line: /Users/baba/Work/appium/build/SafariLauncher/SafariLauncher.zip | |
info: [debug] Copying local zip to tmp dir |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ appium git:(v1.3.4-branch) DEVICE=ios6 mocha test/functional/ios/testapp/source-specs.js | |
process.env.LAUNCH_TIMEOUT --> undefined | |
testapp - source @skip-ios6 | |
env.APPIUM_HOST --> 127.0.0.1 | |
env.APPIUM_PORT --> 4723 | |
caps --> { app: 'sample-code/apps/TestApp/build/Release-iphonesimulator/TestApp.app', | |
browserName: '', | |
deviceName: 'iPhone 5s', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Work mkdir appium-beta | |
➜ Work cd appium-beta | |
➜ appium-beta npm init | |
This utility will walk you through creating a package.json file. | |
It only covers the most common items, and tries to guess sane defaults. | |
See `npm help json` for definitive documentation on these fields | |
and exactly what they do. | |
Use `npm install <pkg> --save` afterwards to install a package and |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
^C% ➜ appium git:(master) node . --full-reset | |
info: Welcome to Appium v1.3.1 (REV 64f934709b13aed163726dc1134504b8ff31c986) | |
info: Appium REST http interface listener started on 0.0.0.0:4723 | |
info: [debug] Non-default server args: {"fullReset":true} | |
info: Console LogLevel: debug | |
info: --> POST /wd/hub/session {"desiredCapabilities":{"browserName":"","appium-version":"1.0","platformName":"Android","platformVersion":"4.4.2","deviceName":"Android Emulator","app":"http://appium.github.io/appium/assets/ApiDemos-debug.apk"}} | |
info: Client User-Agent string: undefined | |
info: [debug] The following desired capabilities were provided, but not recognized by appium. They will be passed on to any other services running on this server. : appium-version | |
info: [debug] No appActivity desired capability or server param. Parsing from apk. | |
info: [debug] No appPackage desired |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<AppiumAUT> | |
<UIAApplication name="POFTesty" label="POFTesty" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0" x="0" y="24.125" width="375" height="642.1875"> | |
<UIAWindow name="" label="" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0" x="0" y="0" width="375" height="667"> | |
</UIAWindow> | |
<UIAWindow name="" label="" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/1" x="0" y="0.6875" width="375" height="665.625"> | |
<UIAElement name="view_0" label="" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/1/0" x="0" y="0.6875" width="375" height="332.8125"> | |
</UIAElement> | |
<UIAElement name="view_1" label="" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/1/1" x="0" y="0.6875" width="375" height="332.8125"> | |
</UIAElement> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict"; | |
var wd = require('wd'); | |
require('colors'); | |
var browser = wd.promiseChainRemote({host:'localhost', port:'4444'}); | |
// optional extra logging | |
browser.on('status', function(info) { |