Hacker News new | ask | show | jobs
by bdcravens 2530 days ago
My understanding is that Selenium injects Javascript in the page, whether you're using a headless browser or not. The best bet would be to switch away from Selenium and write the code using something like Puppeteer.

If you do want to stick with Selenium, you're better studying the chromedriver source than Chromium itself.