远程Powershell脚本导致Selenium超时

时间:2019-08-26 22:30:29

标签: powershell selenium-webdriver selenium-chromedriver powershell-remoting

当我从Powershell脚本中使用Invoke-Command运行使用 Selenium Chromedriver .exe 时,我的 .exe的执行挂起,直到出现超时异常。

我尝试使用本地Powershell命令运行 .exe ,并且每次都运行良好。只有当我使用Invoke-Command时, .exe 才会停止工作。没有Invoke-Command可以远程远程运行Powershell脚本的任何方法,因为Invoke-Command似乎并没有达到我想要的目的。

我还尝试过-Wait .exe 的过程,但是它仍然挂起。

0 个答案:

没有答案