Closed musou1500 closed 4 years ago
Great PR. I think in the future I might just make it take a WebContents, although that would be a breaking change so maybe all three.
I'm deploying v3.0.2
now, should be up in a few minutes.
@TrevorSundberg
Thank you!
I considered about taking WebContents
as argument.
but I did not it because I thought webContents
may not recognized as page
by puppeteer.
actually, webview
(has webContents
property) was not recognized as regular pages until puppeteer v3.2.0.
This PR adds support for
BrowserView
by replacingbrowserWindow.loadURL
bywebContents.loadURL
. (BrowserView
does not haveloadURL
method)