budhash / safarilauncher Goto Github PK
View Code? Open in Web Editor NEWA simple IOS application that automatically launches Mobile Safari after a certain delay
License: Other
A simple IOS application that automatically launches Mobile Safari after a certain delay
License: Other
npm install [email protected]
npm ERR! Darwin 15.0.0
npm ERR! argv "/usr/local/Cellar/node/5.7.0/bin/node" "/usr/local/bin/npm" "install" "[email protected]"
npm ERR! node v5.7.0
npm ERR! npm v3.6.0
npm ERR! Cannot read property 'target' of null
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! https://github.com/npm/npm/issues
npm ERR! Please include the following file with any support request:
npm ERR! /usr/local/lib/node_modules/appium/build/npm-debug.log
hello there all,
I'm sorry to bother, but I tried building in Xcode
and via the shell script
with no luck.
Any help will be much appreciated.
I am currently getting this error using SafarLauncher with real iPhone device. Can you please help?
014-07-23T20:10:36.985Z - debug: [REMOTE] Getting WebKitRemoteDebugger pageArray
2014-07-23T20:10:36.995Z - warn: Could not find any webviews yet, retrying
I increased the delay to 20 seconds , I am getting to the url after 20 seconds .
my code is as follows:
private WebDriver remoteWebDriver;
@Test
public void runstuff() throws InterruptedException {
DesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.setCapability(CapabilityType.BROWSER_NAME, "safari");
capabilities.setCapability("platformName", "iOS");
capabilities.setCapability("deviceName", "iPhone");
capabilities.setCapability(CapabilityType.PLATFORM, "Mac");
try {
System.out.println("before");
remoteWebDriver = new RemoteWebDriver(new URL("http://127.0.0.1:4723/wd/hub"), capabilities);
System.out.println("after........");
}
System.out.println("Running First Test");
Thread.sleep(30000);
remoteWebDriver.get("http://www.google.com ");
WebElement element1 = remoteWebDriver.findElement(By.id("gb-main"));
System.out.println(element1);
WebElement element = remoteWebDriver.findElement(By.name("q"));
element.sendKeys("Cheese!");
element.submit();
System.out.println("Page title is: " + remoteWebDriver.getTitle());
remoteWebDriver.quit();
}
}
I did try to use window handles , but that did not work.
Please use another version instead:
https://github.com/snevesbarros/SafariLauncher/archive/master.zip
Hello,
Can you give me some ideas how to solve this issue ?
SafariLauncher/SafariLauncher/ViewController.m:60:19: Implicit conversion loses integer precision: 'NSUInteger' (aka 'unsigned long') to 'int'
Regards
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.