My current code below in C# opens a window then navigates to the specified URL after a button click.
protected void onboardButton_Click(object sender, EventA
We can simulate Ctrl + Element Click
Ctrl
Element Click
Actions action = new Actions(_driver); action.KeyDown(Keys.Control).MoveToElement(body).Click().Perform();
Reference: https://www.codeproject.com/Answers/1081051/Open-link-in-New-tab-using-Selenium-Csharp-for-chr#answer3