Selenium Chrome window running in second monitor screen stealing focus

前端 未结 4 1375
感动是毒
感动是毒 2021-01-01 23:00

I use WebDriver with Chrome Driver 2.35 with Selenium.

I have a dual monitor setup in which I run my test cases. I do run my cases headlessly most of the times but

4条回答
  •  耶瑟儿~
    2021-01-01 23:12

    My solution to focus being stolen has always been to just use a VM or a remote computer and attach to the process remotely to do the debugging if needed.

提交回复
热议问题