We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
browser.on(BrowserEvents.Disconnected, target -> System.out.println("disconnected: "));
如果不是主动断开,那么监听到浏览器断开,可以做一些事情。
调用 Browser.disconnect() 或 Browser.close() 会主动断开。