Launch Chrome Browser in Android Device using Appium
By Bhau Automation • Appium Mobile Web Automation
🎯 What You Will Learn
- How to launch Chrome browser on Android device using Appium
- Mobile Web Automation using Appium
- How to set Desired Capabilities in Appium
- How to automate mobile browser testing
- How to check App Package and Activity name using CMD
📌 What is Mobile Web Automation?
Mobile web automation allows testers to automate browser testing on mobile devices. Using Appium with Selenium WebDriver, you can automate Chrome browser testing on Android devices.
This is useful for testing responsive websites, mobile web applications, and cross-device compatibility.
⚙️ Check App Package & Activity Name
Run the following command in CMD to get the package and activity name:
dumpsys window windows | grep -E "mCurrentFocus"
📱 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 in Android using Appium
- Install Java and Android Studio
- Install Appium Server
- Start Android Emulator or connect real device
- Set Desired Capabilities
- Launch Chrome browser using Appium
🎯 Real-World Use Cases
- Mobile website testing
- Cross-browser testing on Android devices
- Automation testing for responsive web applications
- Continuous testing for mobile web apps
❓ Appium Interview Questions
Q: Can Appium automate mobile browsers?
A: Yes, Appium can automate mobile browsers like Chrome on Android and Safari on iOS.
Q: Which capability is used to launch Chrome browser?
A: browserName capability with value "Chrome".
🎥 Watch the Complete Tutorial
👉 Watch on YouTube: Launch Chrome Browser in Android using Appium
🎓 Key Takeaways
- Appium can automate mobile browsers
- Use browserName capability to launch Chrome
- Useful for mobile web testing automation
- Important concept in Appium automation interviews
🚀 Created with ❤️ by Bhau Automation