Bug of selenium headless browser in python

option = webdriver.ChromeOptions()
         option.add_argument("--start-maximized")  -sharp 
         option.add_argument("--headless")  -sharp 
         self.driver = webdriver.Chrome(chrome_options=option)

         self.driver.get("https://www.qichacha.com/")
         time.sleep(5)
         response=self.driver.page_source.encode("utf-8")
         print(response)
         self.driver.find_element_by_id("searchkey").send_keys("baidu")
         self.driver.find_element_by_id("V3_Search_bt").click()
         print("asdadsad")
         

clipboard.png

Why is the content returned here a URL? I can go back normally with a head browser!

Mar.18,2021
Menu