You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Puppeteer offers a way to terminate/close workers. For dedicated workers, it can be done by evaluating a script calling self.close() but for other worker types it might not be so easy since the WebDriver instrumentation may prevent workers from closing. Service workers do not support self.close() method as well.
Perhaps, WebDriver BiDi should specify a command for closing a worker realm:
Puppeteer offers a way to terminate/close workers. For dedicated workers, it can be done by evaluating a script calling
self.close()
but for other worker types it might not be so easy since the WebDriver instrumentation may prevent workers from closing. Service workers do not supportself.close()
method as well.Perhaps, WebDriver BiDi should specify a command for closing a worker realm:
self.close()
algorithmThis is a useful command when testing lifecycle behavior of workers. cc @Lightning00Blade
The text was updated successfully, but these errors were encountered: