use of io.appium.java_client.android.StartsActivity in project java-client by appium.
the class AndroidTest method setUp.
@Before
public void setUp() {
startsActivity = new StartsActivity() {
@Override
public Response execute(String driverCommand, Map<String, ?> parameters) {
return driver.execute(driverCommand, parameters);
}
@Override
public Response execute(String driverCommand) {
return driver.execute(driverCommand);
}
};
Activity activity = new Activity("io.appium.android.apis", ".ApiDemos");
startsActivity.startActivity(activity);
}
Aggregations