I am testing mobile app using appium and language as java.
I will set certain parameter for app to enable advertisement using particular url, I need to load that url in local android device.
3.So, I have loaded that url and performed click operation to enable the add.
The actual behaviour of the url is, after enabling the advertisement,the url redirects to the app page.So, in that home page of an app, I will test whether the advertisement is appeared or not.
5.From the above explained test case, I need to switch over from webdriver to appium driver.
I have loaded url using web driver and I have opened app using appium driver.
I have pasted the coding for reference.
Is there any method in the appium to load url using android native browser, instead of using the selendroid server.
if (device.equalsIgnoreCase("android")) { DesiredCapabilities caps = DesiredCapabilities.android(); URL selendroidServerURL = new URL( "http://localhost:4444/wd/hub");
driver = new SelendroidDriver(selendroidServerURL, caps);