Browser Playwright

Delete a Playwright executor

Changed on

Stops the executor's process. A call running on it fails with an error saying the executor was deleted. By default the executor's tab is closed too. The name can be reused; the next call with it creates a new executor and tab.

The default executor is restarted instead of removed: its process is stopped, a call running on it fails with an error saying the executor was restarted, and queued and later calls run on a new process. It owns no tab, so 'close_tab' has no effect on it.

delete/browsers/{id_or_name}/playwright/executors/{name}

Request

  • Base URL
    https://api.onkernel.com
  • URL
    https://api.onkernel.com/browsers/{id_or_name}/playwright/executors/{name}
  • Auth
    HTTP bearer

Path parameters

id_or_namestring required

Browser session ID or name

namestring required

Name of a Playwright executor. Calls with the same name run in the same executor, one at a time; the first call with a new name creates it. Calls on different executors run concurrently. 'default' names the executor that runs calls without a name.

Example:checkout

Executor name

Query parameters

close_tabboolean

Close the executor's tab. Defaults to true.

Response

Executor deleted

Changes