how to set silent mode for sauce lab pre run - C#

The name of the pictureClash Royale Clan(#23URR8PPP)


how to set silent mode for sauce lab pre run - C#



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.


pre-run


pre-run


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#.









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Keycloak server returning user_not_found error when user is already imported with LDAP

PHP parse/syntax errors; and how to solve them?

415 Unsupported Media Type while sending json file over REST Template