Launch Chrome Browser in Android Device using Appium
By Bhau Automation • Appium Mobile Web Automation Tutorial
🎯 What You Will Learn in This Tutorial
- How to launch Chrome browser in Android device using Appium
- Mobile Web Automation using Appium and Selenium WebDriver
- How to set Desired Capabilities for Chrome browser
- How to automate mobile browser testing
- How to check App Package and Activity name using CMD
📌 Introduction to Mobile Web Automation
Mobile web automation allows testers to automate browser-based testing on Android or iOS devices. Using Appium with Selenium WebDriver, testers can automate Chrome browser testing on Android devices.
This helps validate responsive websites, mobile web applications, and cross-browser compatibility across devices.
⚙️ Check App Package & Activity Name using CMD
Run the following command in Command Prompt:
dumpsys window windows | grep -E "mCurrentFocus"
This command helps identify the currently focused application package and activity name.
📱 Desired Capabilities Example
DesiredCapabilities cap = new DesiredCapabilities();
cap.setCapability("platformName","Android");
cap.setCapability("deviceName","Android Emulator");
cap.setCapability("browserName","Chrome");
AndroidDriver driver = new AndroidDriver(
new URL("http://127.0.0.1:4723/wd/hub"), cap);
🚀 Steps to Launch Chrome Browser using Appium
- Install Java JDK
- Install Android Studio
- Install Appium Server
- Start Android Emulator or connect real Android device
- Set Desired Capabilities
- Launch Chrome browser automation
🎯 Real-World Use Cases
- Mobile website automation testing
- Testing responsive web applications
- Mobile browser automation using Selenium + Appium
- Continuous testing for mobile web applications
❓ Appium Interview Questions
Q: Can Appium automate mobile browsers?
A: Yes, Appium can automate Chrome on Android and Safari on iOS devices.
Q: Which capability is used to launch Chrome browser in Android?
A: browserName capability with value "Chrome".
🎥 Watch the Complete Video Tutorial
👉 Watch on YouTube: Launch Chrome Browser in Android using Appium
🎓 Key Takeaways
- Appium supports mobile browser automation
- Use browserName capability to launch Chrome
- Works with Selenium WebDriver architecture
- Important concept for Appium automation interviews
⚡ Practice Tip: Use Android Emulator or real device to run mobile web automation scripts.
🚀 Created with ❤️ by Bhau Automation