I am working with the following selenium script:
from selenium import webdriver
PATH= r"C:\Users\Hamid\Desktop\Selenium\chromedriver.exe"
driver=webdriver.Chrome(PATH)
driver.get("https://www.google.com/")
cookie_button=driver.find_element_by_xpath('//*[@id="L2AGLb"]/div').click()
How do I add a command line to enter 'ONS data' onto the google search tab? Also, how can I turn the window into headless mode?