如何验证<a> tag with a class in Selenium IDE

时间:2017-05-26 21:45:33

标签: selenium-ide

Just started using Selenium IDE and having trouble verifying the presence of an <a> tag with a specific css class. I can select the <a> tag with "VerifyElementPresent | link=mylink" but how do include the check for the class?

1 个答案:

答案 0 :(得分:0)

一旦我发现Firefox和Chrome都有办法获取元素的xPath,就可以找到使用xPath选择器的方法。