question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Running winappdriver in the background piped to a log file

See original GitHub issue

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 `

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:7

github_iconTop GitHub Comments

2reactions
fenchucommented, Sep 10, 2019

I get this to work:

& { Start-Process -NoNewWindow 'C:\Program Files (x86)\Windows Application Driver\WinAppDriver.exe' -RedirectStandardOutput .\winappdriver.txt }
0reactions
naeemakramcommented, Oct 11, 2019

Hi, I’ve published a course about test automation using WinAppDriver. Given below is a special launch promo code(valid 4 days). Automated UI Testing Windows Apps in Appium WinAppDriver, C#

Read more comments on GitHub >

github_iconTop Results From Across the Web

Start executable as background process, redirecting stderr ...
So - how can I start the program as a background process, redirecting its stderr to file, obtain and print its pid, and...
Read more >
UI testing for Windows apps with WinAppDriver and Appium
We're going to install it on the Windows hosted agent which is running the pipeline. We're going to launch WinAppDriver and run the...
Read more >
UI testing for Windows apps with WinAppDriver and Appium
This way, we can include UI testing as part of our CI/CD pipeline ... Go there and double click on the WinAppDriver.exe file...
Read more >
How To Automate Desktops Apps Using WinAppDriver
C:\Program Files\Windows Application Driver. In case the default port (i.e., 4723) is in use, run the following commands as an administrator on ...
Read more >
Automating Windows Apps using WinApp Driver with Java
C:\Program Files (x86)\Windows Application Driver\WinAppDriver.exe. So first things first, we need to run the WinAppDriver in the background ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found