安装firebug,selenium IDE ,查看元素时firefinder可以验证XPath和CSS定位表达式是否正确
学习中遇到的错误:
1. java.lang.NoClassDefFoundError: com/google/common/base/Function,添加server-standlone jar即可解决
3. UnixProcess$SeleniumWatchDog destroyHarder--解决方案-删除安装文件夹的
|
4. org.openqa.selenium.ElementNotVisibleException: Element is not currently visible and so may not be interacted with
Command duration or timeout: 140 milliseconds--解决方案-设置等待时间