Fill input fields automatically when page loads

Fake Data can fill form fields automatically, without having you to do anything. You can enable this option by following these steps:

  • Open Fake Data's options page
  • Go to Settings -> General Settings
  • Under Page load action toggle, enable Fill all fields on page option

Now when you reload any web page, all the input fields should be filled automatically.

Fill dynamic input fields that show up after the page has been loaded

Some dynamic websites have input fields that appear after a while without reloading the page, but when you do a certain action. If that's the case and you find yourself in the situation where not all input fields are filled in, then you can enable the following option:

  • On the same Settings page, after enabling the Page load action
  • Under Monitor DOM changes toggle, enable Monitor DOM changes and fill fields as they appear on the page option

This option will only fill fields that were not added to the DOM at all. Inputs that were in DOM but they were hidden with CSS, will remain unfilled even with the above option selected.

WARNING

When enabling the autofill option, keep in mind that it will be enabled on all websites. This means that it might fill pages that you didn't want to, which in some scenarios might cause data loss.

Manage URLs that are filled or not filled automatically

When you enable the "autofill on page load" option, Fake Data fills all pages with no exception. If you want to change that, you can click on the Manage URLs button and manage the URLs that you want to be filled or don't want to be filled.

After clicking the button, a new popup window will open where you can add as many URLs as you want.

First, make sure you choose the appropriate option under How should the URL list behave?:

  • If you choose "Autofill all URLs except the ones defined below (blacklist)", then Fake Data will fill all pages except the ones that you declare in that window.
  • If you choose "Autofill only URLs that are defined below (whitelist)", then Fake Data will only fill the pages that you declare in that window.

After selecting the option that suits your needs, you can start adding URLs by clicking on the "Add New" button.

  • In the URL input field you will have to insert the URL that you want to be filled or not.
  • You can check the Use RegEx checkbox if you want to match the URL with a regular expression.
    • For example, if you want to match all the pages that start with https://www.mywebsite.com/test/, then you can add the following URL https://www.mywebsite.com/test/(.*) and make sure that the Use RegEx checkbox is checked.