title: How do I enter the header value when crawling using selenium?
body: <p>I'm trying to crawl a site called Tirerack with selenium.</p>
  <pre><code>from selenium import webdriver
  from selenium.webdriver.common.keys import Keys
  import time
  import urllib.request
  
  driver=webdriver.Chrome()
  driver.get(&quot;https://www.tirerack.com/tires/TireSearchResults.jsp?tireIndex=0&amp;autoMake=Audi&amp;autoYear=2021&amp;autoModel=Q5+2.0T&amp;autoModClar=Premium&amp;width=235%2F&amp;ratio=60&amp;diameter=18&amp;sortCode=53910&amp;skipOver=true&amp;minSpeedRating=H&amp;minLoadRating=S&quot;)
  time.sleep(10)
  driver.find_element_by_id(&quot;oe-Tires&quot;).click()
  </code></pre>
  <p>Later, I tried to code the desired part step by step, but found that it did not work.</p>
  <p>And, Finally, I found that I need to put a value of Cookie and Authority as request header.</p>
  <p>I checked the value of header..</p>
  <p><a href="https://i.stack.imgur.com/FyrPK.png" rel="nofollow noreferrer">https://i.stack.imgur.com/FyrPK.png</a></p>
  <p>But I can't find a way of coding.. So I uploaded this question.</p>
  <p>Can I get some hints?</p>