-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running winappdriver in the background piped to a log file #851
Comments
I tried the following command after reading your question and it worked: To add a random number to the file name: "C:\Program Files (x86)\Windows Application Driver\WinAppDriver.exe" > runlog%RANDOM%.txt |
@naeemakram Thanks for your reply, but unfortunately it closes the connection and you get the return prompt: |
It didn't close the connection in my case. Something is not quite right on your side I suppose. I even got the text log file in place. |
I get this to work:
|
That's great! Thanks very much for sharing the solution. |
How do we know that the driver is running in the background or not? I tried a couple of times and I found that the driver closes without any notice.
In first attempt the file didn't open, the PS session stayed stuck where it was. I then pressed enter a few times and typed file name again. |
Hi, I've published a course about test automation using WinAppDriver. Given below is a special launch promo code(valid 4 days). |
if I start a new powershell and execute winappdriver it is all fine, but I need it to behave more like chromedriver and geckodriver, that I can start it in the background and it logs to file. and no output in the console. No extra console open.
I tried several combinations of:
& { Start-Job 'C:\Program Files (x86)\Windows Application Driver\WinAppDriver.exe' | Out-File .\winappdriver.out.txt}
Would be nice to get some info on how to set up this.
`(get-command("C:\Program Files (x86)\Windows Application Driver\WinAppDriver.exe")).Version
Major Minor Build Revision
1 1 1903 8001 `
The text was updated successfully, but these errors were encountered: