[英]How to bring running chrome instance in foreground/ontop when test is run through fitnesse wiki
I have different selenium tests created on my fitnesse wiki. 我在fitnesse维基上创建了不同的硒测试。 Fitnesse wiki is opened in a chrome browser. Fitnesse wiki在Chrome浏览器中打开。 Now, When I hit on Test to run a particular test on fitnesse wiki, it opens a new chrome instance and runs tests there. 现在,当我点击Test以在fitnesse wiki上运行特定测试时,它会打开一个新的chrome实例并在那里运行测试。 The problem is that the new chrome instance opens in background and I can not see the execution unless I manually click the running chrome instance to bring it to foreground. 问题是新的chrome实例在后台打开,除非我手动点击正在运行的chrome实例将其置于前台,否则我无法看到执行。 My requirement is that whenever a new instance opened, it should get opened in foreground/OnTop without any manual intervention. 我的要求是每当打开一个新实例时,它应该在前台/ OnTop中打开而无需任何人工干预。 How can I achieve this using selenium C#. 如何使用selenium C#实现这一目标。 Any help will be very much appreciated. 任何帮助将非常感谢。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.