title: Detected on Headless Chrome Selenium
body: <p>Im trying to scrape Amazon when running headless with a up to date UserAgent I am getting rate limited. When I # out the headless line I don't get detected or rate limited. Below is my code!</p>
  <pre><code>options = Options()
  options.add_experimental_option(&quot;excludeSwitches&quot;, [&quot;enable-logging&quot;])
  options.add_experimental_option(&quot;useAutomationExtension&quot;, False)
  #options.add_argument(&quot;--headless&quot;)
  options.add_argument(&quot;--user-agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36&quot;)
  service = ChromeService(executable_path=ChromeDriverManager().install())
  browser = webdriver.Chrome(service=service, options=options)
  browser.get(&quot;https://www.amazon.com.au/Oculus-Quest-2-Virtual-Reality-Headset/dp/B08FSZ8QWH&quot;)
  print(browser.page_source)
  </code></pre>
  <p>When I remove the # at options.add_argument(&quot;--headless&quot;) and I run the code I get a server busy line. Does anyone know of a fix?</p>