Browsed by
Category: .net Core

Releasing a .NET standard library – Lessons learned the hard way

Releasing a .NET standard library – Lessons learned the hard way

Since my last post I have managed to take my prototype Webdriver factory for .NET Core projects and package it up on nuget.org. This was not as simple a process as I expected, and has required a lot of additional thought and testing. I learnt a number of things along the way that I would want to be aware of if starting again: I try to fill my blog with posts about things I wish I had known, so this…

Read More Read More

Creating an internal WebDriverFactory

Creating an internal WebDriverFactory

This entry is part 4 of 9 in the series Launching WebDrivers in .NET Core the easy way

Last time I showed how to launch a WebDriver instance from .NET core so that we can test on any platform. When creating a framework however I like to have a factory to handle the driver creation and setup for me. I don’t wan’t to have to mess around setting things up in my Test class every time. My .NET core WebDriverFactory design criteria: It should have really simple syntax, especially for creating a ‘default’ webdriver. It should handle local…

Read More Read More

Launching WebDrivers in .net Core

Launching WebDrivers in .net Core

This entry is part 3 of 9 in the series Launching WebDrivers in .NET Core the easy way

As discussed last time, the goal is to be able to run my tests on any .net Core platform. So right from the get go, lets work out how to get a WebDriver fired up. As ever I develop on Windows and I still have Ubuntu 18.4 installed on the Windows Subsystem for Linux (WSL) with an Xming Xserver so in theory I can also test in Linux. Unfortunately, whatever happened to my network whilst I was on holiday finally…

Read More Read More