小米啊 发表于 2010-4-23 13:50:56

Selenium常用XPath--- 学习之地

XPATH

xiaoyaoke 发表于 2010-4-27 13:05:55

Note:Most experienced Selenium users recommend CSS as their locating strategy of the choice as it's considerably faster than XPath and find the most complicated objects in an intrinsic HTML document.

这是在Selenium manual中 5.2 Locating Elements中的话,现在在学CSS ,一起交流啊~

小米啊 发表于 2010-4-27 17:57:41

我一般在没办法时才会用xpath.也有些情况是偷懒哈。以后也会注意效率问题
页: [1]
查看完整版本: Selenium常用XPath--- 学习之地