Intro

PW Lawyers need to automate their login procedure performed in a browser and afterward store scraped data in a text file.

What you will learn

  • Primarily:
    • Browser automation
      • Open a browser
      • Click elements
      • Type into fields
      • Extract data
  • Secondarily:
    • Write data to a text file

Client Name

PW Lawyers

Process Name

BrowserAutomation

Description

This use case takes you through the most important steps for automating browsers. Create a flow, that:

  • Open a browser of your choice
  • Navigate to the-internet.herokuapp.com
  • Login using the credentials stated on the site
    • Advanced: Store the password as encrypted
  • Take a screenshot of the secure area and
    • Store it into a txt file

Hints

  • Launch new [browser]
  • Populate text field on web page to type in the user name
  • Populate text field on web page to type in the password
    • In the Text choose Direct encrypted text input from the dropdown
  • Press button on web page
  • Extract data from web page to get the text data and store it in a variable
  • Write text to file to write the scraped text