chore: remove cpage log
This commit is contained in:
@@ -164,7 +164,6 @@ export class RemoteBrowser {
|
|||||||
contextOptions.userAgent = browserUserAgent;
|
contextOptions.userAgent = browserUserAgent;
|
||||||
this.context = await this.browser.newContext(contextOptions);
|
this.context = await this.browser.newContext(contextOptions);
|
||||||
this.currentPage = await this.context.newPage();
|
this.currentPage = await this.context.newPage();
|
||||||
console.log(`CPage from initialize: ${JSON.stringify(this.currentPage)}`)
|
|
||||||
// await this.currentPage.setExtraHTTPHeaders({
|
// await this.currentPage.setExtraHTTPHeaders({
|
||||||
// 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.3'
|
// 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.3'
|
||||||
// });
|
// });
|
||||||
|
|||||||
Reference in New Issue
Block a user