Skip to main content

Documentation Index

Fetch the complete documentation index at: https://momentic.ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

Resolves a local path, an HTTPS URL, or an env variable holding a previously downloaded path, then primes Playwright’s chooser so the next click that triggers a file dialog uploads the file.

Parameters

ParameterTypeRequiredDescription
pathstringYesLocal path or HTTPS URL of the file.
namestringNoOverride the filename presented to the form.
saveAsstringNoName of the variable to write this step’s return value to.
retriesnumberNoNumber of times to retry the step on failure before failing the test.
skippedbooleanNoSkip this step at execution time.
commentstringNoFree-form annotation kept with the step.

Shorthand

Local path or URL as a single string.
- fileUpload: momentic.config.yaml

Examples

- fileUpload: "{{ env.DOWNLOADED_FILE.downloadedFile }}"
- fileUpload: momentic.config.yaml
- fileUpload: https://static.wikia.nocookie.net/fridaynightfunking/images/b/b5/ASDFGuyIdle.gif