Thanks to visit codestin.com
Credit goes to github.com

Skip to content

testpulse/nuget-selenium-webdriver-microsoftwebdriver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NuGet package - Selenium Microsoft WebDriver

NuGet Package

What's this?

This NuGet package install Microsoft WebDriver into your Unit Test Project.

Read more about Microsoft WebDriver

"MicrosoftWebDriver.exe" added as a linked project item, and copied to bin folder at the build.

How to install?

For example, at the package manager console on Visual Studio, enter following command.

PM> Install-Package Selenium.WebDriver.MicrosoftWebDriver

Detail

How to include the driver file into published files?

"MicrosoftWebDriver.exe" isn't included in published files on default configuration. This behavior is by design.

If you want to include "MicrosoftWebDriver.exe" into published files, please define _PUBLISH_MSWEBDRIVER compilation symbol.

define _PUBLISH_MSWEBDRIVER compilation symbol

Another way, you can define PublishMSWebDriver property with value is "true" in MSBuild file (.csproj, .vbproj, etc...) to publish the driver file instead of define compilation symbol.

  <Project ...>
    ...
    <PropertyGroup>
      ...
      <PublishMSWebDriver>true</PublishMSWebDriver>
      ...
    </PropertyGroup>
...
</Project>

Note

PublishMSWebDriver MSBuild property always override the condition of define _PUBLISH_MSWEBDRIVER compilation symbol or not. If you define PublishMSWebDriver MSBuild property with false, then the driver file isn't included in publish files whenever define _PUBLISH_MSWEBDRIVER compilation symbol or not.

Credits

Big credit to @jsakamoto. I created this nuget based on this repo: https://github.com/jsakamoto/nupkg-selenium-webdriver-iedriver/

About

NuGet package - Selenium Microsoft WebDriver

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •