selenium-ruby

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

跟風遠走 提交于 2019-11-28 14:19:34
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 way that I can keep the chrome driver window in the background. Details: < ChromeDriver version: 2.28.455517 > < Chrome version: 58.0.3029.96 > 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. A few words about the solution to your Question

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

爷,独闯天下 提交于 2019-11-27 08:22:57
问题 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 way that I can keep the chrome driver window in the background. Details: < ChromeDriver version: 2.28.455517 > < Chrome version: 58.0.3029.96 > 回答1: 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