更新时间:2023-11-21 08:10:52
You mention the name of your frame is display. Also make sure to set the id to display too.
This may explain your issue. Some browsers work with both name and id for this and some don't.
在新窗口中打开链接。什么是“正确的”办法?
为什么我的所有链接都在新窗口中打开?
System.Windows.Forms.WebBrowser 在同一窗口或具有同一会话的新窗口中打开链接
如何使Firefox打开通过WebDriver在同一窗口中打开的所有链接?
有没有办法打开所有< a href>新窗口中的页面链接?
有没有办法打开所有<a href>新窗口中页面上的链接?