In a multi-monitor display environment, how do I tell Selenium which display to open a new window in?

后端 未结 17 2546
小蘑菇
小蘑菇 2021-01-31 15:53

Sorry if this has been asked and answered. I did a search but came up empty.

17条回答
  •  南旧
    南旧 (楼主)
    2021-01-31 16:52

    If you are running Windows 7 or later, you can (hack-ishly) achieve this by setting the desired display as your main display under "Change Display Settings". Any new browser windows will now open in this one. Keep in main that this of course affects your toolbar etc, which may or may not be annoying. It is certainly less annoying than having browser windows thrown in your face on a steady basis.

提交回复
热议问题