Created
October 5, 2018 04:09
-
-
Save leomenezessz/4777e5de67f862ab37a4c04491c1b67b to your computer and use it in GitHub Desktop.
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
@BeforeClass | |
public static void setup() throws MalformedURLException { | |
DesiredCapabilities capabilities = new DesiredCapabilities(); | |
capabilities.setCapability("app",new File("apps/SimpleCalculator.app")); | |
capabilities.setCapability("deviceName", "iPhone SE"); | |
capabilities.setCapability("automationName" , "XCUITest"); | |
appiumDriver = new IOSDriver<MobileElement>(new URL("http://localhost:4444/wd/hub") , capabilities); | |
calculatorScreen = new CalculatorScreen(appiumDriver); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment