A primary action in the script editor are ‘SendKeys’. This action is specifically for inputting text into a text field within your site. This can be used for in search boxes, login fields, entering personal data and more. The other actions to compliment this are the ‘Form’ action and the ‘Form selector’. These work off a primary form selector and the name of the input fields to populate text within a form.
Firstly we will look at the ‘Send Keys’ action. The primary use for this is for individual text fields in particular search fields. If you are for example searching for a product you just need to find the suitable selector and the text you would like to input.
The form is very similar to the send keys action however allows you to enter multiple text fields in the same action rather than multiple send keys. Firstly find the selector that encompasses the entire form you are looking to input text. As a standard this will be a CSS selector and an ID would be ideal.
For the text fields themselves you need to find the ‘Name’ of the sections which will enter the text into the relevant fields.
Very similar to ‘Form’ is the ‘Form Selector’ action. Rather than working off of ‘Names’ you need to input selectors. This is particularly useful if your site doesn’t have unique names or it is just easier to use ID’s simple selectors.