📜  selenium open chrome c# 代码示例

📅  最后修改于: 2022-03-11 14:48:48.909000             🧑  作者: Mango

代码示例1
ChromeOptions option = new ChromeOptions();
            option.AddArguments(@"user-data-dir=C:/Users/Adriano/AppData/Local/Google/Chrome/User Data");
            IWebDriver driver = new ChromeDriver(option);