【发布时间】:2016-04-21 14:33:32
【问题描述】:
如果我有这样的事情:
<form>
<input type="submit" style="display: none;">
<a href="......">link</a>
</form>
如何测试链接? 这有效:
$I->seeElement('//form/');
但为此我得到:
Element located either by name, CSS or XPath element with '//form/a' was not found.:
$I->seeElement('//form/a');
【问题讨论】:
标签: xpath codeception