dotnet core2.0 + Docker + Selenium on Linux
原本是使用dotnet core2.0 途中dotnet core2.1發布了於是就更新了(很隨興) Nuget install <PackageReference Include="Microsoft.AspNetCore.All" Version="2.1.3" /> <PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="2.1.3" /> <PackageReference Include="Selenium.Support" Version="3.14.0" /> <PackageReference Include="Selenium.WebDriver" Version="3.14.0" /> <PackageReference Include="Selenium.WebDriver.ChromeDriver" Version="2.41.0" /> <PackageReference Include="Selenium.WebDriver.MicrosoftDriver" Version="17.17134.0" /> C# using OpenQA.Selenium.Chrome; using OpenQA.Selenium.Remote; using System; namespace Test { public class Schedule { public void GoogleInChrome() { var Options = new ChromeOptions(); ...