Browserflow
  • 👋🏽 Welcome to Browserflow
  • Guides
    • Building a flow
    • Running a flow
    • Debugging a flow
    • Sharing a flow
    • Automating Google websites
    • Keyboard shortcuts
    • Selectors
    • Variables
    • Input variables
    • Conditions
  • Browserflow Cloud
    • Running flows in the cloud
    • Loop Sheet flows
    • Saving files
    • Automating sites behind a login
    • API
    • Webhooks
    • Zapier
    • Troubleshooting
  • Reference
    • Browserflow commands
      • Interact with Page
        • Click
        • Type Text
        • Press Key
        • Scroll
        • Hover
        • Select Option
        • Set Date Input
        • Upload File
        • Handle Dialog
      • Extract Data
        • Get Element Text
        • Get Link URL
        • Get Page URL
        • Get Element Attribute
        • Get Element HTML
        • Get Clipboard
        • Save File
        • Take Screenshot
        • Generate PDF
      • Navigate
        • Visit
        • Go Back
        • Go Forward
        • Reload Page
      • Spreadsheet
        • Loop Spreadsheet Rows
        • Add Spreadsheet Row
        • Update Spreadsheet Row
        • Find Spreadsheet Row
      • Control Flow
        • Loop Elements
        • Loop Pages
        • Loop
        • Loop List Items
        • If
        • Else
        • While
        • End
        • Break
      • Tabs
        • Create Tab
        • Get Active Tab ID
        • Select Tab
        • Close Tab
      • Utilities
        • Run Script
        • Get Date
        • Wait
        • Wait for Element
        • Show Alert
        • Make HTTP Request
        • Assert
        • Run Flow
        • Comment
        • Solve Captcha
  • Support
    • Getting help
    • Common errors
  • Troubleshooting
    • Updating to the latest version
Powered by GitBook
On this page
  • Element
  • Basic
  • Text
  • Numbers
  • Spreadsheets
  • Code

Was this helpful?

  1. Guides

Conditions

PreviousInput variablesNextRunning flows in the cloud

Last updated 2 years ago

Was this helpful?

Conditions can be used:

  • To control the flow using commands like and

  • To search and filter rows in spreadsheets using commands like and

  • To verify results and create end-to-end tests using

Element

Element is visible

  • Value: for the element to check for visibility

Element is hidden

  • Value: for the element to check for visibility

Basic

Is empty

Is not empty

Text

Text comparisons are case-insensitive.

Text contains

Text does not contain

Text starts with

Text ends with

Text is exactly

Numbers

Greater than

Greater than or equal to

Less than

Less than or equal to

Is equal to

Is not equal to

Spreadsheets

Row number exists

Row number does not exist

Code

Code

  • Value: Javascript expression that evaluates to either true or false (e.g. 1 === 2)

If
While
Find Spreadsheet Row
Loop Spreadsheet Rows
Assert
Selector
Selector