Mobile web app automation

Hi ,

I need to automate mobile web application.

Ex: I need to open chrome browser in Android device and open & login

Is it required appium?
Can you give me example also


Hi GUys,
Please help me

Here is your code:

public void setUp() throws MalformedURLException
DesiredCapabilities cap = new DesiredCapabilities();
cap.setCapability(“deviceName”, “”);
cap.setCapability(“platformName”, “Android”);
cap.setCapability(“browserName”, “Chrome”);
cap.setCapability(“newCommandTimeout”, “500”);
driver = new AppiumDriver(new URL(“http://”+ip+":"+port+"/wd/hub"),cap) {

		public WebElement scrollTo(String arg0) {
			// TODO Auto-generated method stub
			return null;

		public WebElement scrollToExact(String arg0) {
			// TODO Auto-generated method stub
			return null;
	driver.manage().timeouts().pageLoadTimeout(60, TimeUnit.SECONDS);
	driver.manage().timeouts().implicitlyWait(60, TimeUnit.SECONDS);

For IP: use IP address where you need to run the code
For Port: use port where appium server is running