Skip to main content
The environment close method gracefully closes the current browser environment. For local browser environments, you can also access the browser process ID and terminate the entire browser application.

Method Signature

Parameters

timeout
int | None
default:"None"
Maximum time in seconds to wait for the environment to close. If None, uses the default system timeout.

Return Value

This method returns None and completes when the environment has been closed.

Example