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
it.only("should delete cookie passing domain and path", function () { | |
var complexCookieDelete = function(name, path, domain) { | |
return function() { | |
path = path || '|'; | |
return driver.setCookie({name: name, value: '', path: path, | |
domain: domain, expiry: 0}); | |
}; | |
}; | |
return driver |
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
➜ ~ cordova -v | |
4.0.0 | |
➜ ~ cordova create hello com.example.hello HelloWorld | |
Creating a new cordova project with name "HelloWorld" and id "com.example.hello" at location "/Users/baba/hello" | |
➜ ~ cd hello | |
➜ hello cordova platform add android | |
Creating android project... | |
Creating Cordova project for the Android platform: | |
Path: platforms/android | |
Package: com.example.hello |
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"?> | |
<SOAP-ENV:Envelope xmlns:ns0="http://www.marketo.com/mktows/" xmlns:ns1="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="http://www.marketo.com/mktows/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> | |
<SOAP-ENV:Header> | |
<tns:AuthenticationHeader> | |
<mktowsUserId>saucelabsinc1_33298388524B31915EDA11</mktowsUserId> | |
<requestSignature>41253b28d9db5bc1fffc57762a6af19a53f43e3e</requestSignature> | |
<requestTimestamp>2014-08-19T22:41:05Z</requestTimestamp> | |
</tns:AuthenticationHeader> | |
</SOAP-ENV:Header> | |
<ns1:Body> |
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="Anywhere" label="Anywhere" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0" x="0" y="20" width="1024" height="748"> | |
<UIAWindow name="" label="" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0" x="0" y="0" width="1024" height="768"> | |
<UIANavigationBar name="Guide" label="" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/0" x="0" y="20" width="1024" height="44"> | |
<UIAImage name="" label="" value="" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/0/0/0" x="0" y="0" width="1024" height="64"> | |
<UIAImage name="" label="" value="" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/0/0/0/0" x="0" y="64" width="1024" height="1"> | |
</UIAImage> | |
</UIAImage> | |
<UIAButton name="UINavigationBarBackIndicatorDefault.png" label=" |
This file has been truncated, but you can view the full file.
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
Using worker: saucelabs-mac.worker.travis-ci.org:travis-mac_osx-18 | |
travis_fold:start:git.1 | |
$ git clone --depth=50 --branch=master git://github.com/appium/appium.git appium/appium | |
Cloning into 'appium/appium'... | |
remote: Counting objects: 2512, done.[K | |
remote: Compressing objects: 0% (1/1415) [K | |
remote: Compressing objects: 1% (15/1415) [K | |
remote: Compressing objects: 2% (29/1415) [K | |
remote: Compressing objects: 3% (43/1415) [K |
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
info: Welcome to Appium v1.1.0 (REV 163657d8c7b82a15bb6fb651b8a24387cb68373c) | |
info: Appium REST http interface listener started on 0.0.0.0:4723 | |
debug: Non-default server args: {"logLevel":"debug"} | |
info: LogLevel: debug | |
info: --> POST /wd/hub/session {"desiredCapabilities":{"platformName":"android","deviceName":"Nexus 7","app":"/Users/user/woven/ruby_lib/android_tests/api.apk","appPackage":"io.appium.android.apis","appActivity":".ApiDemos"}} | |
debug: Appium request initiated at /wd/hub/session | |
debug: Request received with params: {"desiredCapabilities":{"platformName":"android","deviceName":"Nexus 7","app":"/Users/user/woven/ruby_lib/android_tests/api.apk","appPackage":"io.appium.android.apis","appActivity":".ApiDemos"}} | |
debug: Using local app from desired caps: /Users/user/woven/ruby_lib/android_tests/api.apk | |
debug: Creating new appium session e04582d5-b9c8-4e8e-b114-ca66e08cfeb9 | |
debug: Using fast reset? true |
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
UIAElement.prototype.getTreeForXML = function () { | |
var target = UIATarget.localTarget(); | |
target.pushTimeout(0); | |
var getTree = function (element, elementIndex, parentPath) { | |
var curPath = parentPath + "/" + elementIndex; | |
var rect = element.rect(); | |
var subtree = { | |
"@": { | |
name: element.name() | |
, label: element.label() |
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
warn: Could not parse plist file at /tmp/Appium-MobileSafari.app/en.lproj/Localizable.strings | |
info: Getting list of devices instruments supports | |
info: Instruments is at: /Applications/Xcode-7.1.app/Contents/Developer/usr/bin/instruments | |
info: Instruments is at: /Applications/Xcode-7.1.app/Contents/Developer/usr/bin/instruments | |
info: [INSTSERVER] Instruments socket server started at /tmp/instruments_sock |
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
var concurrentHelper = function (els) { | |
var promises = []; | |
_.times(30, function () { | |
_.each(els, function (el) { | |
promises.push( | |
el.isDisplayed().then(function (isDisplayed) { | |
console.log("got isDisplayed-->", isDisplayed); | |
return {el: el, isDisplayed: isDisplayed}; | |
}) | |
); |
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"; | |
/* | |
run: | |
node local-ios-wd-safari.js | |
*/ | |
var wd = require("wd"); | |
require('colors'); |