Delete a Playwright executor

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/playwright/executors/{name}

Path parameters

namestring required

Name of a Playwright executor. Calls with the same name run in the same executor; the first call with a new name creates it. 'default' names the executor that runs calls without a name.

Query parameters

close_tabboolean

Close the executor's tab. Defaults to true.

Response

Executor deleted

Changes

Changed in 1 of the 65 revisions of this API.1