Open andristarr opened 7 months ago
Is there a way to run an init script like this: await context.addInitScript("Object.defineProperty(navigator, 'webdriver', {get: () => undefined})")
await context.addInitScript("Object.defineProperty(navigator, 'webdriver', {get: () => undefined})")
To remove the navigator prop from the webdriver, that would be very beneficial for web scraping
Is there a way to run an init script like this:
await context.addInitScript("Object.defineProperty(navigator, 'webdriver', {get: () => undefined})")
To remove the navigator prop from the webdriver, that would be very beneficial for web scraping