Ministry.WebDriver.Extensions
3.0.0
Install-Package Ministry.WebDriver.Extensions -Version 3.0.0
dotnet add package Ministry.WebDriver.Extensions --version 3.0.0
<PackageReference Include="Ministry.WebDriver.Extensions" Version="3.0.0" />
paket add Ministry.WebDriver.Extensions --version 3.0.0
#r "nuget: Ministry.WebDriver.Extensions, 3.0.0"
// Install Ministry.WebDriver.Extensions as a Cake Addin
#addin nuget:?package=Ministry.WebDriver.Extensions&version=3.0.0
// Install Ministry.WebDriver.Extensions as a Cake Tool
#tool nuget:?package=Ministry.WebDriver.Extensions&version=3.0.0
WebDriver.Extensions
This project is set up to provide a basic styled framework to build a page structured model for writing UI Automation tests against in dotnet core or dotnet classic. The attached Google libraries act as samples to create a simple model to run tests against using the framework code in the main libraries. You can use these as a starting point.
Developers - Getting Started
In order to make use of this solution you must have the following installed...
- Visual Studio 2017
- git
- SDKs and Visual Studio Tools for dotnet Core (While the main library will compile for dotnet classic 4.5 and 4.62 as well, the sample code and tests require dotnet core 1.1)
- IE, Edge (on Windows 10 Creators or above), Firefox and Chrome for all of the tests to pass
I have VS 2015 will that do?
If you have Visual Studio 2015 Installed you will have to upgrade to support the *.csproj format.
Additional recommendations
I recommend Sourcetree to supplement command line and Visual Studio for its visualisation.
Build and Test
Once you have cloned this repo and checked out the branch that has been created for you run the following commands in the solution root to download dependencies...
As yourself...
- dotnet restore
You can run tests in Visual Studio 2017 or by using 'dotnet test' on the command line.
Ensure that 'Enable Protected Mode' is turned off in ALL zones in IE.
You will need to make sure that your UI Tests library includes references to any of the Driver packages that you intend to use from nuget to ensure they are added to the output directoried...
- PhantomJS: PhantomJS v2.1.1 & Selenium.WebDriver.PhantomJS v1.0.0
- Chrome: Selenium.WebDriver.ChromeDriver v2.35.0
- IE: Selenium.WebDriver.IEDriver v3.8.0 (On modern setups this can be tricky - Scaling will set the Browser zoom level above 100% which will cause failures. The IE driver is very flaky.)
- Firefox: Selenium.WebDriver.GeckoDriver v0.19.1
- Edge: Selenium.WebDriver.MicrosoftWebDriver v10.0.16299 (This is an annoying one as it needs to match the buil of Windows 10 used to test with or it will just fail)
Useful Links
The following links relate to all of the key elements within the project technology stack...
The Ministry of Technology Open Source Products
Welcome to The Ministry of Technology open source products. All open source Ministry of Technology products are distributed under the MIT License for maximum re-usability. Details on more of our products and services can be found on our website at http://www.ministryotech.co.uk
Our other open source repositories can be found here...
Most of our content is stored on both Github and Bitbucket.
Where can I get it?
You can download the package for this project from any of the following package managers...
Contribution guidelines
If you would like to contribute to the project, please contact me.
The source code can be used in a simple text editor or within Visual Studio using NodeJS Tools for Visual Studio.
Who do I talk to?
- Keith Jackson - keith@ministryotech.co.uk
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows |
.NET Core | netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1 |
.NET Standard | netstandard2.0 netstandard2.1 |
.NET Framework | net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen40 tizen60 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
-
.NETFramework 4.5
- PhantomJS (>= 2.1.1)
- Selenium.WebDriver (>= 3.8.0)
- Selenium.WebDriver.ChromeDriver (>= 2.35.0)
- Selenium.WebDriver.GeckoDriver (>= 0.19.1)
- Selenium.WebDriver.IEDriver (>= 3.8.0)
- Selenium.WebDriver.MicrosoftWebDriver (>= 10.0.16299)
- Selenium.WebDriver.PhantomJS (>= 1.0.0)
- System.Linq.Queryable (>= 4.3.0)
-
.NETFramework 4.6.2
- PhantomJS (>= 2.1.1)
- Selenium.WebDriver (>= 3.8.0)
- Selenium.WebDriver.ChromeDriver (>= 2.35.0)
- Selenium.WebDriver.GeckoDriver (>= 0.19.1)
- Selenium.WebDriver.IEDriver (>= 3.8.0)
- Selenium.WebDriver.MicrosoftWebDriver (>= 10.0.16299)
- Selenium.WebDriver.PhantomJS (>= 1.0.0)
- System.Linq.Queryable (>= 4.3.0)
-
.NETStandard 2.0
- PhantomJS (>= 2.1.1)
- Selenium.WebDriver (>= 3.8.0)
- Selenium.WebDriver.ChromeDriver (>= 2.35.0)
- Selenium.WebDriver.GeckoDriver (>= 0.19.1)
- Selenium.WebDriver.IEDriver (>= 3.8.0)
- Selenium.WebDriver.MicrosoftWebDriver (>= 10.0.16299)
- Selenium.WebDriver.PhantomJS (>= 1.0.0)
- System.Linq.Queryable (>= 4.3.0)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Ministry.WebDriver.Extensions:
Package | Downloads |
---|---|
Ministry.WebDriver.Configuration
Dotnet Core Configuration integration for Ministry.WebDriver.Extensions. |
|
Ministry.WebDriver.EntityFramework
EntityFramework integration for Ministry.WebDriver.Extensions. |
|
Ministry.WebDriver.Api
Dotnet Core API Testing extension for Ministry.WebDriver.Extensions. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
3.0.0 | 1,279 | 2/1/2018 |
2.2.11 | 1,188 | 9/26/2017 |
2.1.10 | 1,780 | 8/2/2017 |
2.1.9 | 1,349 | 8/2/2017 |
2.0.5 | 859 | 7/14/2017 |
1.3.5 | 2,096 | 12/3/2014 |
1.3.4.3 | 1,035 | 12/1/2014 |
1.3.4.2 | 1,003 | 12/1/2014 |
1.3.4.1 | 1,034 | 12/1/2014 |
1.3.4 | 1,046 | 12/1/2014 |
1.3.3 | 1,065 | 12/1/2014 |
1.3.2 | 1,012 | 11/28/2014 |
1.3.0.1 | 913 | 11/28/2014 |
1.3.0 | 952 | 11/28/2014 |
1.2.4.1 | 916 | 11/27/2014 |
1.2.4 | 1,045 | 11/27/2014 |
1.2.3.2 | 1,024 | 11/25/2014 |
1.2.3.1 | 1,083 | 11/24/2014 |
1.2.3 | 1,061 | 11/24/2014 |
1.2.2 | 1,087 | 11/24/2014 |
1.2.1 | 1,054 | 11/21/2014 |
1.2.0 | 1,065 | 11/21/2014 |
1.1.0 | 1,224 | 11/18/2014 |
1.0.3 | 1,168 | 11/18/2014 |
1.0.2 | 1,523 | 11/3/2014 |