Browser Automation

Attach File

Upload a file to the page by clicking a file input element and attaching the specified file.

Back

Navigate the browser to a previous page.

Capture Visible Tab

Capture visible tab screenshot.

Cast Desktop

Cast the entire desktop to a named Cast sink.

Cast Tab

Cast the active browser tab to a named Cast sink.

Check Network Idle

Report network/content idle state.

Clear Injected Scripts

Remove all scripts previously registered with Inject Script.

Clear Referrer

Remove request Referer header.

Close Tab

Close a browser tab and return the current active tab information.

Close Window

Close a browser window.

Delete Storage

Manage and clear browser storage data.

Drag And Drop

Drag the selected element by a given offset.

Evaluate

Find an element using an XPath expression.

Evaluate All

Find all elements matching an XPath expression.

Evaluate All Persistent

Find all DOM elements matching an XPath expression; used internally by GPAL for persistent selectors.

Evaluate Persistent

Find the first DOM element matching an XPath expression; used internally by GPAL for persistent selectors.

Execute JavaScript

Run arbitrary JavaScript in the page context.

Fill In Append

Append text to the current field.

Fill In Insert

Insert text into the current field.

Fill In Overwrite

Overwrite the current field value.

Fire Change Event

Invoke change event behavior on element.

Focus

Focuses onto a web element, clicking first if it's editable.

Forward

Navigate the browser to a subsequent page.

Fullscreen

Sets the view of the browser into fullscreen mode.

Get (Headless)

Navigate to a URL in headless mode.

Get Attribute

Get element attribute value.

Get Bounding Client Rectangle

Get element bounding box.

Get Browser Settings

Retrieve the current browser configuration as JSON.

Get Content and CSS

Export element as standalone HTML.

Get CSS Attributes

Extract relevant computed CSS properties.

Get Current URL

Get active tab URL.

Get Current Window

Get the current active tab and window details.

Get DOM Attributes

Returns a specified element's DOM attributes.

Get Dom Properties

Returns a specified element's key DOM properties.

Get Element Attribute Hash

Generate element attribute hash.

Get GPAL Settings

Retrieve the current GPAL library configuration as JSON.

Get Page Source

Return the full page HTML from the top-level frame.

Get Parent Node

Serialize an element's parent with locators and metadata.

Get Ready Status

Get page load state.

Get Settings

Retrieve the combined GPAL and browser settings as JSON.

Get Shadow Root

Serialize an element's shadow root with locators and metadata.

Get Storage

Retrieve browser storage data from cookies, localStorage, sessionStorage, cache, and IndexedDB.

Get Useragent

Get browser user agent.

Get Window Rectangle

Return window size information.

Get Workflow

Retrieve the currently running workflow definition as JSON.

Go To Tab

Activate an existing browser tab or window and return its details.

Go To URL

Navigate the browser to a new page.

Go To Window

Focus a browser window and return its details.

Hide Element

Hide an element.

Hover

Moves the real mouse cursor onto a web element.

In Element

Scope subsequent selectors to within a given element.

In Iframe

Scope subsequent selectors to inside an iframe.

In Shadow Dom

Scope subsequent selectors to inside a shadow DOM.

Inject Script

Register a script to run automatically on every new document load, until cleared.

Is Clickable

Check if element is clickable.

Is Displayed

Check if element is visible on screen.

Is Enabled

Check if element is enabled.

Is End of Page

Check if page is scrolled to the bottom.

Is Visible In Viewport

Check if element is fully visible in viewport.

Left Click

Simulates a left click.

Left Click And Download

Left-click a link/element and save the resulting download.

Left Double Click

Simulates a double click.

Maximize

Maximizes the current browser window.

Middle Click

Simulates a middle click.

Minimize

Minimizes the current browser window.

Move To

Scrolls a web element into view and moves the real mouse cursor onto it.

New Tab

Creates a browser tab.

Next Tab

Navigates the browser to the next tab.

Next Window

Navigates the current browser window to the next window.

Normal

Restores the browser window to a normal size.

Open Window

Create a new browser window and return its details.

Override Referrer

Set request Referrer header.

Page Down

Scroll down one page.

Page End

Navigate to the bottom of the page.

Page Top

Navigate to the top of the page.

Page Up

Scroll up one page.

Press Modifier Key

Track and simulate keyboard modifier key states.

Previous Tab

Navigates the browser to the previous tab.

Previous Window

Navigates the current browser window to the previous window.

Query Api

Internal API route placeholder.

Query Persistent Selector

Find the first DOM element matching a CSS selector; used internally by GPAL for persistent selectors.

Query Persistent Selectors

Find all DOM elements matching a CSS selector; used internally by GPAL for persistent selectors.

Query Selector

Find an element using a CSS selector.

Query Selectors

Find all elements matching a CSS selector.

Refresh

Refreshes the current page.

Release Modifier Key

Release keyboard modifier key states.

Restore

Restore minimized browser windows.

Right Click

Simulates a right click.

Right Click And Download

Right-click a link/element and save the resulting download.

Scroll Element

Scroll an element by a specified offset.

Scroll Into View

Scrolls a specified web element into view.

Scroll Window

Scroll the page by a specified amount.

Scroll Window By Horizontal

Scroll the window horizontally by a pixel amount.

Scroll Window By Vertical

Scroll the window vertically by a pixel amount.

Select Click

Select an option in a select element.

Send Key

Simulate a keyboard input event.

Send String

Simulate typing text into a page.

Set Attribute

Set element attribute value.

Set Download Filename

Set download filename and path.

Set Range

Set the value of a range (slider) input.

Set Storage

Store data in browser storage.

Set Storage Cache

Write an entry to the Cache Storage API.

Set Storage Indexed DB

Write a record to an IndexedDB object store.

Set User Agent

Override the browser's user agent string.

Set Value From Element

Copy one element's value into another.

Stealth Override Referrer

Apply custom Referer header (stealth mode).

Stop Casting

Stop an active screen cast session.

Submit Form

Submit the form containing the matched element.

Switch To Default Content

Sets the element search root to the full document.

Switch To Element

Sets the element search root to the current element.

Switch To Frame

Switch Puppeteer's execution context into an iframe.

Switch To Shadow Root

Sets the element search root to the current element's shadow root.

Top Browser

Bring the browser window to the foreground.

Window Inner Height

Get the viewport height of the window.

Window Inner Width

Get the viewport width of the window.

Window Outer Height

Get the total browser window height.

Window Outer Width

Get the total browser window width.

Window Page Offset X

Get the horizontal scroll position.

Window Page Offset Y

Get the vertical scroll position.

Window Screen Left

Get the windows horizontal screen position.

Window Screen Top

Get the windows vertical screen position.

On this page


Browser Automation
Attach File
Back
Capture Visible Tab
Cast Desktop
Cast Tab
Check Network Idle
Clear Injected Scripts
Clear Referrer
Close Tab
Close Window
Delete Storage
Drag And Drop
Evaluate
Evaluate All
Evaluate All Persistent
Evaluate Persistent
Execute JavaScript
Fill In Append
Fill In Insert
Fill In Overwrite
Fire Change Event
Focus
Forward
Fullscreen
Get (Headless)
Get Attribute
Get Bounding Client Rectangle
Get Browser Settings
Get Content and CSS
Get CSS Attributes
Get Current URL
Get Current Window
Get DOM Attributes
Get Dom Properties
Get Element Attribute Hash
Get GPAL Settings
Get Page Source
Get Parent Node
Get Ready Status
Get Settings
Get Shadow Root
Get Storage
Get Useragent
Get Window Rectangle
Get Workflow
Go To Tab
Go To URL
Go To Window
Hide Element
Hover
In Element
In Iframe
In Shadow Dom
Inject Script
Is Clickable
Is Displayed
Is Enabled
Is End of Page
Is Visible In Viewport
Left Click
Left Click And Download
Left Double Click
Maximize
Middle Click
Minimize
Move To
New Tab
Next Tab
Next Window
Normal
Open Window
Override Referrer
Page Down
Page End
Page Top
Page Up
Press Modifier Key
Previous Tab
Previous Window
Query Api
Query Persistent Selector
Query Persistent Selectors
Query Selector
Query Selectors
Refresh
Release Modifier Key
Restore
Right Click
Right Click And Download
Scroll Element
Scroll Into View
Scroll Window
Scroll Window By Horizontal
Scroll Window By Vertical
Select Click
Send Key
Send String
Set Attribute
Set Download Filename
Set Range
Set Storage
Set Storage Cache
Set Storage Indexed DB
Set User Agent
Set Value From Element
Stealth Override Referrer
Stop Casting
Submit Form
Switch To Default Content
Switch To Element
Switch To Frame
Switch To Shadow Root
Top Browser
Window Inner Height
Window Inner Width
Window Outer Height
Window Outer Width
Window Page Offset X
Window Page Offset Y
Window Screen Left
Window Screen Top
💬 Ask GPAL