Learn about reusing Kernel browsers across invocations
persist
settings in the browsers.create()
method:
id
:
persistence id
is found, the existing browser will be provided to your app.persistence id
is not found, a new browser instance will be created and assigned the specified persistence id
for future reuse.persistence id
can be any string. You can set it to an identifier in your system to match it to a user, environment, website, or something else.
browsers.create()
, the browser will be destroyed after the invocation completes.