Automation IDE
Selenium WebDriver 4
C#
Cloud browser · recorded
Sign in to run
Run
Ctrl
↵
Explorer
Code
Console
ExampleTests.cs
13
Reset
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
using NUnit.Framework; using OpenQA.Selenium; using OpenQA.Selenium.Chrome; public class ExampleTests { private IWebDriver driver; [SetUp] public void SetUp() => driver = new ChromeDriver(); [Test] public void ExampleDomain() { driver.Navigate().GoToUrl("https://example.com/"); Assert.That(driver.Title, Does.Contain("Example Domain")); Assert.That(driver.FindElement(By.TagName("h1")).Text, Is.EqualTo("Example Domain")); } [TearDown] public void TearDown() => driver.Quit(); }
Test result
Console
Network
Console is empty
Logs, navigations and assertion output stream here while your code runs.