Primitive steps
File upload
Upload a file to a file input element
This step allows you to upload a file to a file input element on the page. You must execute this step before interacting with the file input element.
Inputs
file url
string
requiredReference to the file to upload, in one of the following formats:
- Publicly accessible remote files can be referenced using URLs starting with
http://
orhttps://
. - Files downloaded in previous steps can be referenced using the special
file://
prefix. - CLI-only: local files can be referenced by path. The path must be absolute or relative the the root momentic.config.yaml file.
Files are limited to 50MB in size.
Was this page helpful?