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
27 lines (25 loc) · 826 Bytes
/
UsageTest.cs
File metadata and controls
27 lines (25 loc) · 826 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
26
27
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 TestWithoutSeleniumManager()
// {
// using ChromeDriver driver = new ChromeDriver("path/to/ChromeDriver");
// driver.Navigate().GoToUrl("https://www.selenium.dev/documentation/selenium_manager/");
// }
public void TestWithSeleniumManager()
{
using ChromeDriver driver = new ChromeDriver();
driver.Navigate().GoToUrl("https://www.selenium.dev/documentation/selenium_manager/");
}
}
}