在新 window 中执行 seleneses 不起作用

Executing seleneses in a new window does not work

我正在尝试在一个新的 window 中执行 selenese,但它似乎不起作用。
简单测试:打开一个新的 window,select 它并点击那里的东西:

openWindowAndWait | http://cnn.com | cnn

selectWindow | cnn | |

click | link=Regions | | 

测试失败,我不知道我错过了什么 - 没有执行点击(最终命令)。

我认为如果你这样做应该有效:

<tr>
    <td>selectWindow</td>
    <td>name=cnn</td>
    <td></td>
</tr>

通过指定 name=cnn(而不只是 cnn),但对我来说,我得到一个错误:

[error] Window does not exist. If this looks like a Selenium bug, make sure to read http://seleniumhq.org/docs/02_selenium_ide.html#alerts-popups-and-multiple-windows for potential workarounds.

但它默认为页面标题,因此这对我有用:

<tr>
    <td>selectWindow</td>
    <td>Breaking News, Daily News and Videos - CNN.com</td>
    <td></td>
</tr>