Actions8
Overview
The node "Remote Playwright" allows interaction with a remote Playwright instance to automate browser actions programmatically. Specifically, the FillInput operation fills an input field on a web page identified by a CSS selector with a specified value. This is useful in scenarios such as automated form filling, testing web applications, or scraping data where user input simulation is required.
For example, you can use this node to automatically fill login forms, search boxes, or any text input fields during a browser automation workflow.
Properties
| Name | Meaning |
|---|---|
| Instance ID | The identifier of the Playwright instance to target for the action. |
| Close Browser on error | Whether to close the browser if an error occurs during the fill input action (true/false). |
| Selector | The CSS selector string that identifies the input element to fill. |
| Value | The string value to be filled into the input element. |
| Timeout | Maximum time in milliseconds to wait for the fill action to complete before timing out. |
Output
The node outputs JSON data representing the result of the fill input action. Typically, this will confirm whether the input was successfully filled or provide details about any errors encountered. There is no indication that binary data is output by this node.
Dependencies
- Requires access to a remote Playwright instance endpoint.
- Needs an API key or authentication token configured in n8n credentials to authorize requests to the remote Playwright service.
- The base URL of the remote Playwright instance must be set in the node's credentials configuration.
Troubleshooting
Common issues:
- Incorrect or missing Instance ID may cause the node to fail to locate the correct Playwright session.
- Invalid or incorrect CSS selector can lead to failure in finding the input element.
- Network or authentication issues with the remote Playwright service can prevent execution.
- Timeout too short might cause premature failure if the page or element takes longer to load.
Error messages and resolutions:
- Element not found: Verify the CSS selector is correct and the element exists on the page.
- Instance not found: Check that the provided Instance ID matches an active Playwright session.
- Authentication failed: Ensure the API key or credentials are correctly configured.
- Timeout exceeded: Increase the timeout value to allow more time for the element to become available.