提交 db1b38c3 编写于 作者: Huan (李卓桓)'s avatar Huan (李卓桓)

add more log to quit

上级 c2a61632
......@@ -168,11 +168,11 @@ class Browser extends EventEmitter {
log.silly('PuppetWebBrowser', 'quit() co()')
yield this.driver.close() // http://stackoverflow.com/a/32341885/1123955
yield this.driver.quit()
log.silly('PuppetWebBrowser', 'quit() this.driver = null')
this.driver = null
yield this.clean()
log.silly('PuppetWebBrowser', 'quit() co() end')
}).catch(e => {
// console.log(e)
// log.warn('PuppetWebBrowser', 'err: %s %s %s %s', e.code, e.errno, e.syscall, e.message)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册