Reputation: 2045
I would like to active these tabs one by one in chrome. How to do it?
System.Diagnostics.Process.Start(new ProcessStartInfo
{
FileName = @"C:\Program Files\Google\Chrome\Application\Chrome.exe",
Arguments = "https://www.test.com/",
UseShellExecute = true
});
System.Diagnostics.Process.Start(new ProcessStartInfo
{
FileName = @"C:\Program Files\Google\Chrome\Application\Chrome.exe",
Arguments = "https://www.test.com/",
UseShellExecute = true
});
Upvotes: 0
Views: 68
Reputation: 46
I tried, and generally, it work (opens tab one by one). But right mentioned, you need to use chromedriver and Selenium to manipulate the browser https://www.selenium.dev/documentation/webdriver/getting_started/first_script/
Upvotes: 1