- Set up for Appium:
- Reference:
- install xcode:
-
make sure you are NOT installing the latest version. Install v7 here: https://developer.apple.com/download/more/
-
make sure the correct simulators are downloaded at xcode -> preferences -> components
NOTE: If you don't have the correct simulators downloaded then you will get the error: "Could not find a device to launch..."
-
- install carthage which is an appium dependency: https://github.com/Carthage/Carthage
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
// courtesy of Thamu Gurung @thamu_gurung_twitter | |
browser.execute(() => { | |
return $(elementSelector).trigger({ type: 'mousedown', which: 39 }); | |
}); | |
/* The Key codes | |
rightArrow - 39 | |
leftArrow - 37 | |
down - 40 | |
enter - 13 |
NewerOlder