forked from SeleniumHQ/seleniumhq.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUsageTest.cs
More file actions
25 lines (23 loc) · 669 Bytes
/
UsageTest.cs
File metadata and controls
25 lines (23 loc) · 669 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using OpenQA.Selenium;
using OpenQA.Selenium.Support.UI;
using OpenQA.Selenium.Chrome;
namespace SeleniumDocs.Support
{
[TestClass]
public class UsageTest
{
public void TestWithSeleniumManager()
{
// Before
// using var driver = new ChromeDriver("path/to/chromedriver");
// Now
using var driver = new ChromeDriver();
driver.Navigate().GoToUrl("https://www.selenium.dev/documentation/selenium_manager/");
}
}
}