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
  • Press Key vs. Click
  • OS-Level Keyboard Shortcuts

Was this helpful?

  1. Reference
  2. Browserflow commands
  3. Interact with Page

Press Key

PreviousType TextNextScroll

Last updated 4 years ago

Was this helpful?

Presses a key or a combination of keys

Key

  • Name of key to press, such as ArrowLeft. See for a list of all key names.

  • Use the "Detect" button to have Browserflow detect and complete any key combination

Wait for new page to load

  • If the key press will trigger a URL change (e.g. pressing Enter to submit a form), select this option to wait for the new page to load before proceeding

Press Key vs. Click

If you have the choice between pressing a key or clicking to perform an action (e.g. pressing Tab to select an element or clicking on it), go with using as it will properly wait for elements to load and therefore be more reliable compared to Press Key, which may press the key before the page can process it.

OS-Level Keyboard Shortcuts

Note that OS-level shortcuts (e.g. Command + V to paste on Mac OS) won't work because these key presses are simulated at the browser level, not at the OS level (see for a longer explanation)

USKeyboardLayout
Click
puppeteer#313