title: How to set header "Access-Control-Allow-Origin" to selenium Webdriver
body: <p>I am a beginner with python selenium.
  Any help I appriciate.</p>
  <p>My selenium code :</p>
  <pre><code>user_agent = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) ' \
      'Chrome/80.0.3987.132 Safari/537.36'
  chrome_option = webdriver.ChromeOptions()
  chrome_option.add_argument('--no-sandbox')
  chrome_option.add_argument('--disable-dev-shm-usage')
  chrome_option.add_argument('--ignore-certificate-errors')
  chrome_option.add_argument(&quot;--disable-blink-features=AutomationControlled&quot;)
  chrome_option.add_argument(f'user-agent={user_agent}')
  chrome_option.headless = True
  
  driver = webdriver.Chrome(options = chrome_option)
  driver.get(&quot;https://apps.apple.com/us/app/tiktok-make-your-day/id835599320#see-all/reviews&quot;)
  </code></pre>
  <p>I got following Error Message :</p>
  <pre><code>[0708/203913.943:INFO:CONSOLE(0)] &quot;Access to font at 'https://www.apple.com/ac/globalfooter/3/en_US/assets/ac-footer/legacy/appleicons_text.woff' from origin 'https://apps.apple.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.&quot;, source: https://apps.apple.com/us/app/tiktok-make-your-day/id835599320#see-all/reviews (0)
  [0708/203914.012:INFO:CONSOLE(8199)] &quot;Metrics config: No config provided via delegate or fetched via init(), using default/cached config values.&quot;, source: https://apps.apple.com/assets/vendor-5715c00de8dadd4a8dd6d176ecd12d82.js (8199)
  [0708/203914.022:INFO:CONSOLE(8199)] &quot;Metrics config: No config provided via delegate or fetched via init(), using default/cached config values.&quot;, source: https://apps.apple.com/assets/vendor-5715c00de8dadd4a8dd6d176ecd12d82.js (8199)
  [0708/203914.027:INFO:CONSOLE(6946)] &quot;ember-i18n has been deprecated in favor of ember-intl&quot;, source: https://apps.apple.com/assets/vendor-5715c00de8dadd4a8dd6d176ecd12d82.js (6946)
  [0708/203915.024:INFO:CONSOLE(0)] &quot;Access to font at 'https://www.apple.com/ac/globalfooter/3/en_US/assets/ac-footer/legacy/appleicons_text.ttf' from origin 'https://apps.apple.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.&quot;, source: https://apps.apple.com/us/app/tiktok-make-your-day/id835599320#see-all/reviews (0)
  </code></pre>
  <p>I look forward to hear you.
  Regards!</p>