摘要: selenium 中有个现成的框架 就是pagefactory 。我们可以实现页面元素和行为的分离。在定义元素中如下啊[FindsBy(How = How.XPath, Using = "//table[@class='Tab01']/tbody/tr/td[3]")] [CacheLookup] private IList prodNamePrice;我们可以看到 是用。xpath 的查找方式但是第二个【cachelookup】 是个什么东西了 来看原文啊CacheLookupOne last thing that remains with PageFac 阅读全文
posted @ 2013-07-29 17:33 x7hace 阅读(611) 评论(0) 推荐(0) 编辑