0
4

2 回答 2

0
<clickLink xpath="//a[@class='l-btn']" description="Click first a tag with class l-btn" />

请参阅clickLink 文档

于 2012-06-20T13:26:28.193 回答
0

clickLink xpath="//a[contains(@onclick,'onFormSubmit')]

description="click link with onclick property that contain the word
onFormSubmit"

将查找包含值的xpath属性的链接onclick'onFormSubmit'

于 2012-06-26T03:06:30.783 回答