Are you an engineer looking to make a difference? Are you interested in contributing to Selenium WebDriver C#, the most widely used web automation tool on the market? Well, you’re in luck! Not only is this a great way to give back to the open source community and hone your coding skills, it also provides invaluable experience that could be useful for future projects. In this blog post, we’ll go over how you can get up and running as quickly as possible with contributing to Selenium WebDriver C#. Ready? Let’s dive right in!

Run this command to install Bazel, the build tool of SeleniumHQ

brew tap bazelbuild/tap && 
brew uninstall bazel; 
brew install bazelbuild/tap/bazelisk

Now to clone and build the repo

git clone --depth 1 https://github.com/SeleniumHQ/selenium &&
cd selenium &&
bazel build //dotnet/test/common:chrome

The building will take a few minutes; go grab a coffee. My final output looked like this

DEBUG: /private/var/tmp/_bazel_nikolay/41c40222d2b41b8805f6b84a588df484/external/rules_python/python/pip.bzl:47:10: pip_install is deprecated. Please switch to pip_parse. pip_install will be removed in a future release.
INFO: Analyzed target //dotnet/test/common:chrome (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
Target //dotnet/test/common:chrome up-to-date:
  bazel-bin/dotnet/test/common/bazelout/netcoreapp3.1/WebDriver.Common.Tests.dll.exe
  bazel-bin/dotnet/test/common/bazelout/netcoreapp3.1/WebDriver.Common.Tests.dll.ref.exe
  bazel-bin/dotnet/test/common/bazelout/netcoreapp3.1/WebDriver.Common.Tests.dll.pdb
  bazel-bin/dotnet/test/common/bazelout/netcoreapp3.1/WebDriver.Common.Tests.dll.exe.sh
INFO: Elapsed time: 0.792s, Critical Path: 0.09s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
SL-1840:dotnet nikolay$ 

Once built, run your tests

dotnet test

That’s it, enjoy helping the open-source community. Huge thanks to my friend Titus Fortner for helping me with this.


Find out how our clients are running automation 66% faster!
Get your Free framework assessment.

ℹ️ We have limited space for only 1 assessment per quarter


0 Shares
Tweet
Share
Share