Element is not currently visible and so may not be interacted with错误

用selenium定位时,碰到这种错误的原因:

此种问题的关键是在于用className和id都不唯一所以找不到对象

所以,碰到这种问题就换一种定位方式

posted @ 2016-10-09 14:43  蜗牛到牛  阅读(519)  评论(0编辑  收藏  举报