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

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

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

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

原文地址:https://www.cnblogs.com/zhoufankui/p/5942188.html