How to work while Selenium tests are working

被刻印的时光 ゝ 提交于 2019-12-02 07:27:06

Not only you can't prevent the WebdDiver from taking the focus, you shouldn't do it. The WebdDiver needs the focus on the browser in order to successfully interact with it. If you take the focus the WebdDiver won't be able to perform actions like FindElement(), Click() or any other operation and the tests will fail.

You can use Windows 10 Virtual Desktops. Check here how to use it: https://www.howtogeek.com/197625/how-to-use-virtual-desktops-in-windows-10/

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!