【发布时间】:2017-03-18 23:54:31
【问题描述】:
How can I get URLs of open pages from Chrome and Firefox?
How can I get URLs of open pages from Chrome and Firefox?
http://hintdesk.com/c-automationelement-left-click-and-send-keys/
How can I check if website is already opened in a webbrowser?
等等……
全部失败。它们要么只返回打开次数最多的标签,要么根本不工作。
我需要检查firefox是否完全打开到一个url,如果是则刷新并聚焦该选项卡/url,如果没有打开firefox到该页面。
这不是一个 Firefox 插件或任何与 Firefox 真正有关的东西。那是我选择的浏览器,所以这是我想要使用的浏览器。所有这些都是为了避免每次运行我的应用程序时连续打开相同的 url。
【问题讨论】: