Parameter | Description |
--allowed-origins <origins> | The list of allowed origins for browser requests, which are separated by semicolons (;). By default, all origins are allowed. |
--blocked-origins <origins> | The list of blocked origins for browser requests, which are separated by semicolons (;).
|
--block-service-workers | Blocks service workers. |
--browser <browser> | The browser or Chrome channel that you want to use. Valid values:
|
--caps <caps> | The list of additional features to be enabled. The vision and pdf capabilities are supported and can be configured concurrently with commas (,) as separators.
|
--cdp-endpoint <endpoint> | The endpoint of Customer Data Platform (CDP) to be connected. |
--config <path> | The path of the browser configuration file. If you do not specify this parameter, the browser configuration information will be saved in the default configuration file path based on the installed browser and its version. |
--device <device> | The device to be simulated. Example: iPhone 15. |
--executable-path <path> | The path of the browser executable file. |
--headless | After you specify this parameter, the browser will run in headless mode. If you do not specify this parameter, the browser will run in headed mode by default. |
--host <host> | The host to which the server is bound, which is localhost by default. To bind to all network interfaces, you can set the value to 0.0.0.0. |
--ignore-https-errors | Ignores HTTPS errors. |
--isolated | Store the browser configuration file in memory instead of the disk. |
--image-responses <mode> | Specifies whether to send an image response to the client. Valid values:
|
--no-sandbox | Disables the sandbox. |
--output-dir <path> | The directory path of the output file. |
--port <port> | The port on which the Server-Sent Events (SSE) protocol listens. |
--proxy-bypass <bypass> | The list of domain names that bypass the proxy. The domain names are separated by commas (,), such as ".com,chromium.org,.domain.com". |
--proxy-server <proxy> | Specify a proxy server, such as "http://myproxy:3128" and "socks5://myproxy:8080". |
--save-trace | Save the Playwright traces of sessions to the output file directory. |
--storage-state <path> | The path at which the storage status file is saved for isolated sessions. |
--user-agent <ua string> | Specify a user agent string. |
--user-data-dir <path> | The directory path of user data. If you do not specify this parameter, a temporary directory will be created. |
--viewport-size <size> | Specify the viewport size of the browser in pixels. Example: "1280, 720". |
Tool Name | Description | Parameter |
browser_snapshot | Capture page structure for automation. | None. |
browser_click | Click the web page element. |
|
browser_drag | Perform the drag-and-drop operation. |
|
browser_hover | Move the pointer over the element. |
|
browser_type | Enter text in the field. |
|
browser_select_option | Select options from a drop-down menu. |
|
browser_press_key | Press a key on the keyboard. | key: The name or character of a key |
browser_wait_for | Wait until the conditions are met. |
|
browser_file_upload | Upload the file. | paths: The path to which the file is uploaded |
browser_handle_dialog | Manage the dialog boxes of the browser. |
|
Tool Name | Description | Parameter |
browser_navigate | Open the specified URL. |
|
browser_navigate_back | Return to the previous page. | None. |
browser_navigate_forward | Go to the next page. | None. |
Tool Name | Description | Parameter |
browser_take_screenshot | Capture a page image. |
|
browser_pdf_save | Export the page as a PDF file. | Filename: the path at which the file is saved |
browser_network_requests | List network activities. | None. |
browser_console_messages | Display console output. | None. |
Tool Name | Description | Parameter |
browser_install | Configure the browser environment. | None. |
browser_close | Exit the current page. | None. |
browser_resize | Change the window size. |
|
Tool Name | Description | Parameter |
browser_tab_list | Display the open tabs. | None. |
browser_tab_new | Create a tab. | url: the initial URL |
browser_tab_select | Switch to an active tab. | index: the tab position |
browser_tab_close | Delete a tab. | index: the tab to be closed |
Tool Name | Description | Parameter |
browser_generate_playwright_test | Create an automated test. |
|
Tool Name | Description | Parameter |
browser_screen_capture | Obtain a visual snapshot. | None. |
browser_screen_move_mouse | Position the cursor. |
|
browser_screen_click | Click at the coordinates. |
|
browser_screen_drag | Drag between points. |
|
browser_screen_type | Enter text at the cursor. |
|