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
  1. Blocks
  2. Web Interaction

Create Element Block

This block creates an element and inserts it into the webpage.

  • Element selector The element selector of the specific element.

  • Insert element Represent the position of the specific element.

    • As first child Insert it as the first child of the specific element.

    • As last child Insert it as the last child of the specific element.

    • As previous sibling Insert it as the previous sibling of the specific element.

    • As next sibling Insert it as the next sibling of the specific element.

    • Replace target element Substitue the specific element for the element that was created.

  • HTML The HTML code of the element you would like to create.

  • CSS The CSS code that will be injected into the webpage

  • JavaScript The JS that will be injected into the webpage

    • golessRefData(keyword, path?)** **function Use this function for referencing data. For further information, open the Javascript Block page.

    • golessExecWorkflow(detail)** **function Workflow execution functionality. The detail parameter is where you input the detail of the workflow like the ID or publicId of the workflow you want to run.

  • Preload script Load scripts or styles before injecting the element.

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.

PreviousPress Key BlockNextControl Flow

Last updated 1 year ago