Finding elements for Android web-based apps using the Chrome ADB plugin

We need to install add-on in order to remotely inspect the web elements. Here are the steps for finding elements:

Step 1: The Chrome Browser gives us an ADB add-on to access the source code of the  the mobile app remotely. To download the add on follow this link and click on "Add to Chrome" to add extension.

Step 2: Click on "View Inspection Targets"

Step 3: Connect your device using USB if not already connected

Step 4: Open chrome browser in your device and navigate to desired url.

Step 5: Navigate to chrome://inspect in your device.

Step 6: Click on Inspect, A window will open with website you have opened on your device.

Step 7: You can inspect the element in a similar way you inspect in browser.

Tue, 03/02/2021 - 22:49

Authored by

Tarun Goswami, works as a Technical Lead at the well-known IT services company. With Over 11+ years of experience in Quality Assurance, he writes engaging and informative blogs in his spare time.

Tags