Skip to content

Commit

Permalink
Fix redundant Uri backslash
Browse files Browse the repository at this point in the history
  • Loading branch information
vebbo2 committed May 14, 2021
1 parent 5e9c9c9 commit 49a84c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Testime.Automation/Web/WebApplication.cs
Expand Up @@ -39,7 +39,7 @@ public TPage OpenPage<TPage>() where TPage : HtmlPage, new()

public TPage NavigatePage<TPage>(string url) where TPage : HtmlPage, new()
{
_driver.Navigate().GoToUrl($"{Url}/{url.TrimStart('/')}");
_driver.Navigate().GoToUrl($"{Url.ToString().TrimEnd('/')}/{url.TrimStart('/')}");
return OpenPage<TPage>();
}

Expand Down

0 comments on commit 49a84c7

Please sign in to comment.