GoLess
  • Basics
    • Recording Actions
    • Adding workflow manually
    • Tutorial: Scraping data
  • Workflow
    • Customization
    • Blocks
    • Global Data
    • Variables
    • Element Selector
    • Expressions
    • Workflow Table
    • Looping
    • Google Drive
  • Blocks
    • General
      • Note Block
      • Trigger Block
      • Execute Workflow Block
      • Delay Block
      • Export Data Block
      • HTTP Request Block
      • Blocks Group
      • Clipboard Block
      • Wait Connections Block
      • Notification Block
      • Workflow State
      • Parameter Prompt Block
    • Browser
      • Active Tab Block
      • New Tab Block
      • Switch Tab Block
      • New Window Block
      • Proxy Block
      • Go Back Block
      • Go Forward Block
      • Close Tab/Window Block
      • Take Screenshot Block
      • Browser Event Block
      • Handle Download Block
      • Handle Dialog Block
      • Reload Tab Block
      • Get Tab URL Block
      • Cookie Block
    • Web Interaction
      • Click Element Block
      • Get Text Block
      • Scroll Element Block
      • Link Block
      • Attribute Value Block
      • Forms Block
      • Javascript Code Block
      • Trigger Event Block
      • Switch Frame Block
      • Upload File Block
      • Hover Element Block
      • Save Assets Block
      • Press Key Block
      • Create Element Block
    • Control Flow
      • Repeat Task Block
      • Conditions Block
      • Element Exists Block
      • While Loop Block
      • Loop Data Block
      • Loop Elements Block
      • Loop Breakpoint
    • Data
      • Insert Data Block
      • Delete Data Block
      • Get Log Data Block
      • Slice Variable Block
      • Increase Variable Block
      • RegEx Variable Block
      • Data Mapping Block
      • Sort Data Block
    • Оnline Services
      • Google Sheets Block
    • Premium
      • ChatGPT Block
      • Captcha Block
  • REFERENCE
    • Logs
    • Schedule
    • Storage
    • Packages
    • Condition Builder
    • Workflow Common Errors
    • JavaScript Execution Context
Powered by GitBook
On this page
  • Requirements
  • Find the Upload File Selector
  1. Blocks
  2. Web Interaction

Upload File Block

Upload file into an <input type="file"> element.

  • Element selector Selector for the <input type="file"> element.

  • File path The absolute path, the URL, or the base64 of the file you want to upload.

Requirements

You must turn on the "Allow access to file URLs" option to enable this block to work.

  • Open chrome://extensions

  • Find GoLess and click the "Detail" button

  • Scroll down and turn on "Allow access to file URLs"

Find the Upload File Selector

Usually, the element for uploading the file is obscured. Therefore, you can use the Element Picker to select it and use the Recording feature to find the upload file element.

  1. Start to record

  2. Upload a file and stop recording

  3. Clean the other blocks, such as the click element, which causes the website to open a file selector window. It is not required when using the upload file block.

Please note:

This block cannot function without an active tab. For this reason, use the Active Tab block or the New Tab block before using this one.

PreviousSwitch Frame BlockNextHover Element Block

Last updated 1 year ago