Creating New Tabs and Managing Them - Selenium
问题 Here is my Code: var chromeOptions = new ChromeOptions(); chromeOptions.AddArguments("headless"); _driver = new OpenQA.Selenium.Chrome.ChromeDriver(chromeOptions); _driver.Navigate().GoToUrl(url); It will open an instance of chromedriver.exe and will navigate to the target URL. I need to navigate to other URLs with the same chromedriver.exe intance, and I need to set specific headers and cookies for each URL. How to achieve something with Selenium and ChromeDriver? 回答1: Personally, i;d do