Install PhantomJS (Win32, macOS, and Linux64) into your Unit Test Project. "phantomjs(.exe)" is copied to bin folder from package folder when the build process. NuGet package restoring ready, and no need to commit "phantomjs(.exe)" binary into source code control repository. / The MSBuild script that contained this package is free and unencumbered software released into the public domain. / "phantomjs(.exe)" is licensed under the New BSD License.
$ dotnet add package Selenium.WebDriver.PhantomJS.CrossPlatformNo README available.