是否有可能在watir-webdriver中打开一个新标签? [英] Is it possible to open a new tab in watir-webdriver?
问题描述
和附加方法访问只有OPEN标签/窗口...有没有办法决定在新的窗口/选项卡中打开特定的链接?我在文档中搜索,但我没有找到这样的功能...
好吧,这不是一个解决方案,而是一个work-around:
我切换到ruby机械化,与使用完全不同,但可以在没有可见的浏览器窗口的情况下执行多线程和一切操作...
The only thing that looks a bit like what I'm trying to achieve is this, but this works only for IE... for firefox I found that information, so is it not possible to open tabs, just new windows?
And the attach method is accessing only already OPEN tabs/windows... Is there a way to decide to open a specific link in a new window/tab? I searched in the documentation, but I didn't find such a function...
Ok thats not a solution but a work-around:
I switch to ruby mechanize, is quite different to use, but allows to do multithreading and everything without a visible browser window...
这篇关于是否有可能在watir-webdriver中打开一个新标签?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!