I want to use sauce labs pre-run
capability to run some executable before my tests runs and i would like to set silent mode argument for the pre-run
capability.
Below is the code snipped what I have been trying so far.
DesiredCapabilities capabilities = new DesiredCapabilities();
Dictionary<string, object> obj = new Dictionary<string, object>
{
{ "executable", "http://url.to/my/executable" },
{ "background", true },
{ "timeout", 120 }
};
capabilities.SetCapability("prerun", obj);
Please suggest how can I set the silent mode here. I know a solution in java, But not sure how to do it in C#.