How to run chrome driver in background using selenium with Ruby for Mac OSx?

前端 未结 3 1481
孤城傲影
孤城傲影 2020-12-21 12:07

Sometimes, the browser window comes to the foreground and I\'m clicking it accidentally which makes the test fails on some occasions. So, I just want to know, is there any w

3条回答
  •  半阙折子戏
    2020-12-21 12:23

    First and foremost rule is that we should not do any other work while your scripts are running. We may use actions class for hovering., etc, while you move your cursor it may lead to failing your test case. Hope It will be useful to you.

提交回复
热议问题