Minimize WinAppDriver.exe programmatically
See original GitHub issueis there any argument that can be passed to WinAppDriver.exe while launching such that it opens it in a minimized way?
Note, that I tried this on command prompt and it works fine
start "" /min "C:\Program Files\Windows Application Driver\WinAppDriver.exe"
but, I am using psexec, and the same command, when used with psexec, doesn’t work.
PsExec.exe -nobanner -accepteula -i 1 \\localhost -u username -p password "start \"\" /min \"C:\Program Files\Windows Application Driver\WinAppDriver.exe\""
PsExec could not start start "" /min "C:\Program Files\Windows Application Driver\WinAppDriver.exe" on localhost:
The filename, directory name, or volume label syntax is incorrect.
So, it would have been altogether easier if there is any argument that WinAppDriver can take while launching it from the command prompt. It will be really helpful, considering WinAppDriver is used for automation (hence programmatically), and since it’s related to UI, it would be helpful to open it in a minimized state so that it doesn’t hinder UI elements on the screen.
How do you all approach this problem?
Issue Analytics
- State:
- Created a year ago
- Comments:6
Top GitHub Comments
Is its C# then using system.process you can launch WAD in minimize mode
try this