I would like to ask you: Is there any way to run the process which is opening during one of my application methods start?
I 'm writing an app in wpf and this is my firefox driver (selenium) which I want to run in the background:
//create driver using existing profile
IWebDriver driver = new FirefoxDriver(ffprof);
//change a position (browser is invisible on the screen but after 1-2 sec since ff opened so
//this is not a solution :(. And it exist on taskbar.
driver.Manage().Window.Position = new System.Drawing.Point(-2000,0);
//change webdriver url
driver.Url = url;
//Save this ff proces to variable
Process ffProcess = HelpMethods.GetFirefoxProcess();
And another question when firefox will run as a background process, could I work with it normally (ex. change url or doing something on a website)?