Scraping Mobile Site ApplicationsHow to Scrape Mobile-Site (M-site) Applications

How to Scrape Mobile-Site (M-site) Applications

Capture UI elements from a website running in a mobile browser. Mobile-site applications are web applications that work on mobile devices through a browser. They provide a simpler option compared to native apps, especially when you need compatibility across different platforms. To scrape mobile-site applications, the algoScraper tool, which is available as an extension in the Developer Tools panel, is used.

Scraping Mobile-Site Applications

Perform the following:

Create a project

In the Create Project page:

  • Enter a Project Name.
  • Select Mobile Automation as the automation type.
  • Select the M-Site checkbox.
  • Enter the URL in the Application URL field.
  • Click Launch.

Then follow the steps in the Overview section of Using algoScraper in the Developer Tools Panel.

Navigate to the algoScraper extension available in the Developer Tools Panel.

Open the Developer Tools panel in your browser and locate the algoScraper tab.

To view the application in the Mobile site mode, click the Toggle icon available in the device toolbar or press Ctrl+Shift+M keys on your keyboard.

This switches the browser to mobile view, allowing you to inspect and scrape elements as they appear on a mobile device.

If you choose to scrape all the UI elements, then click the Scrape UI button in the algoScraper window to scrape all the UI elements.

All detected UI elements on the current page will be captured and listed in the algoScraper window.

If you choose to scrape an individual element, then click this icon or press Ctrl+Shift+C on the keyboard and click the UI element you want to scrape to capture the details in the algoScraper window.

Make sure to select the icon described in the previous step each time you choose to scrape an individual element. For more information on scraping UI elements and tool functionality, see Using algoScraper in the Developer Tools Panel.

Download the scraped file in .json format using the Download button available in the Scraper window and upload it to the Profiler window in the algoQA platform.

For more information, see How to Upload Existing Scraped File.