Using Electron Scraper for Android Devices or iOS Devices

Modified on Fri, 21 Feb at 11:04 AM

TABLE OF CONTENTS

1. Overview

2. Prerequisites

3. Using Electron Scraper 

1. Overview

This article provides the steps to capture XPaths for Android devices.

2. Prerequisites

  1. Make sure Emulator or Real Device is connected. 
  2. To install Electron Scraper, refer to  Setting Up for Electron Scraper. 

3. Using Electron Scraper for Android Devices 

Perform the following:

  1. After connecting to the real device or an Emulator, launch the  Electron Scraper. 
  2. Device Name and UD ID of the connected device will be displayed automatically.
  3. Update the required App Package and App Activity. For more information on fetching App Package and App Activity, see Fetching App, see How to fetch App Package and App Activity. 
  4. Click the Run Button.

  5. Screen loads till the app launches in connected Real device or an Emulator.
  6. App is launched in the connected device.
  7. Enter Valid Screen Name. Screen Name can accept alphabets, alphanumeric, space, underscore, Starts with alphabets/Number/Underscore.
  8. Click on Scrape Button.

  9. Current screen in the Real device or Emulator appears.

  10. Details of the scraped elements will appear in the tabular format.

  11. Element of particular XPath will be displayed in the right when user clicks on Show element.

  12. You can delete the line items using delete icon, add a row by clicking the add icon and search for a particular element in the Search Box.

  13. You can update the Screen or Page Name in the Screen Name text box.

  14. Scrape all the required elements and click the Download button to download the scraped elements in the CSV format.

3. Using Electron Scraper for iOS Devices. 

After connecting the simulator, when you select device name as iOS, then device name and UDID will be displayed automatically.  You have to update App Name, URL and Bundle ID. Click Run and follow the same procedure described in the preceding steps and Download the required file in the CSV format. 







Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article