Way to open Selenium browser not overlapping my current browser

前端 未结 2 715
暖寄归人
暖寄归人 2020-12-04 03:51

I have following situation. once I start a Selenium test, a browser window will be opened. Since I have a bunch of tests and I start them many times every day, I would not l

2条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-04 04:20

    Whether the browser appears over your current browser, or in the background, depends on the driver implementation and changes from browser to browser - it is not dependent on Selenium or Serenity. However I usually run the tests in chrome in headless mode, which removes the issue entirely.

提交回复
热议问题