Hi!
Trying to run the (very) simple node.js example on iOS emulator.
I’m using:
exports.ios82 = {
browserName: 'Safari',
'appium-version': '1.3',
platformName: 'iOS',
platformVersion: '8.2',
deviceName: 'iPhone 5',
app: undefined
};
The test is:
it("should get the url", function () {
return driver
.get('https://www.google.com')
.sleep(1000)
.waitForElementByName('q', 5000)
.sendKeys('sauce labs')
.sendKeys(wd.SPECIAL_KEYS.Return)
.sleep(1000);
});
But when I run it, it launches the safari browser, then immediately clicks on the apple.com thumbnail from the start tab, goes to apple.com and hangs there.
Please help,
Thanks!