Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import com.seleniumtests.driver.DriverConfig;

import io.appium.java_client.android.AndroidDriver;
import org.openqa.selenium.WebDriverException;

/**
* AndroidDriverFactory.
Expand Down Expand Up @@ -60,7 +61,7 @@ public WebDriver createWebDriver() throws IOException {
protected void setPageLoadTimeout(final long timeout) {
try {
driver.manage().timeouts().pageLoadTimeout(timeout, TimeUnit.SECONDS);
} catch (UnsupportedCommandException e) {
} catch (WebDriverException e) {
}
}

Expand Down
2 changes: 1 addition & 1 deletion testng.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
<parameter name="app" value="Browser"/>

<!--Test on default emulator Browser
Set the property to "Chrome" to run test on chrome browser on android device instead of default Browser-->
Set the property "app" to "Chrome" to run test on chrome browser on android device instead of default Browser-->
<parameter name="browserName" value="Browser"/>
<parameter name="newCommandTimeout" value="120"/>

Expand Down