Context: Azure, C#, ClearScript, Selenium, Firefox
I'm exposing Selenium's Firefox symbols into a ClearScript JavaScript environment. In the following JavaScript code, the symbols exposed/exported from C# are prefixed with CS.
// Preamble_LaunchBrowser.js
driverService = CSFirefoxDriverService.CreateDefaultService();
driverService.FirefoxBinaryPath = "C:\\Program Files\\Mozilla Firefox\\firefox.exe";
driverService.HideCommandPromptWindow = true;
driverService.SuppressInitialDiagnosticInformation = true;
var options = new CSFirefoxOptions();
driver = new CSFirefoxDriver(driverService, options, CSTimeSpan.FromSeconds(10));
driver.Url = "http://www.google.com.au/";
At present I have no support for profiles, but would like to add them somehow. How would I specify a profile in the context of a FirefoxDriverService?