Browsed by
Series: Launching WebDrivers in .NET Core the easy way

Launching Selenium WebDriver in .NET Core the easy way

Launching Selenium WebDriver in .NET Core the easy way

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

In this post I am finally pleased to sum up the last of my experiences releasing Open Source libraries to help launching Selenium WebDriver instances in .NET Core projects. Whilst actually the last of the posts chronologically in this series I am placing it as post number 1, feel free to skip to the next one and read through before coming back if you want the story in the order that I wrote it. Writing the code of an Open…

Read More Read More

Starting to build a (new) .net Core PageFactory

Starting to build a (new) .net Core PageFactory

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

I am ridiculously excited to finally be getting back to writing code for this project. In fact I have spent far too long coding, and have left the blogging for a while so I have plenty to catch up on. Episode IV – A new beginning If you followed through my previous posts around building a Selenium WebDriver test framework in Java, you may remember that the last thing that I completed was to get it running cross platform. Anyone…

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

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

Testability, interfaces and unit tests for Dummies (and junior SDETs)

Testability, interfaces and unit tests for Dummies (and junior SDETs)

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

Having got to version 2.0.0 of my WebDriverFactory with working system tests and CI builds it was time to extend things a little. This could be considered YAGNI (You Aren’t Gonna Need It) but I quite like to have a Manager class that deals with getting and closing down WebDriver instances. The idea is that the Manager knows the specifics of the driver that I want to use, and will return a given instance, or a new instance on request….

Read More Read More