How can I navigate to a particular URL if I’m using XUnit?
Hi Helen,
To navigate to a particular URL using XUnit, you can refer and add the sample codes below:
{
String test_url = "https://lambdatest.github.io/sample-todo-app/";
String itemName = "Yey, Let's add it to list";
[Fact]
public void NavigateToDoApp()
{
IWebDriver driver;
driver = new ChromeDriver();
driver.Navigate().GoToUrl(test_url);
driver.Manage().Window.Maximize();