How to fill forms with Fake Data
There are multiple ways to tell Fake Data to fill either a single field, an entire form, or the entire page at once. We will next cover each method, so you can decide which one works best for you.
Keyboard shortcuts
The easiest and most convenient way to use Fake Data is through its keyboard shortcuts. By default, there are two shortcuts that you can use:
OS | Fill single input field | Fill the entire form at once |
---|---|---|
macOS | Cmd + Double Click | Cmd + Shift + Double Click |
Windows | Alt + Double Click | Alt + Shift + Double Click |
Linux | Alt + Double Click | Alt + Shift + Double Click |
Filling a from popup window
Another method to trigger Fake Data is through the popup window that is shown by default when you click on the extension icon. After the popup opens, at the bottom of it, there will be several buttons depending on what you have selected in page. These buttons will look like this:
Usually the "Fill entire page" button is always displayed. Clicking on it will fill all input fields in your page.
If you have an input field focused when you open the popup window, then the "Fill input" option will also appear. This one will fill only the input field that was focused before opening the popup.
Additionally, if the focused input is inside an HTML <form>
tag, then the "Fill form" option will show, which allows you to fill the entire form at once.
Fill a form from context menu
The third way to fill an entire form or page at once is through context menu.
Simply, right-click on the page, then go to Fake Data submenu and choose Fill entire form
. If the element that you right-clicked is not part of a <form>
element, then the option Fill entire page
will show up.
Fill a form partially from context menu
You can also fill just a part of the form at once, without having to click on each input field individually. This might be useful if you have a set of inputs that you want to fill at once, but not the entire form.
- To do this, you start with creating a selection in the page that covers all the fields that you want to be filled.
- Next, right-click on the selection, go to Fake Data submenu, and choose
Fill X selected fields
As you can see, there are multiple ways to trigger Fake Data and have it fill forms. They all come out of the box and don't require any additional configuration.