While that's true, user-agent isn't the only thing in the header that reveals PhantomJS[0].
You could take the time to build in spoofs for these issues. But for testing (and scraping), you're going to be better off if your headless browser is the same as your GUI browser.
You could take the time to build in spoofs for these issues. But for testing (and scraping), you're going to be better off if your headless browser is the same as your GUI browser.
0: https://blog.shapesecurity.com/2015/01/22/detecting-phantomj...