selenium遇到的报错
1.stale element reference: element is not attached to the page document
原因:这个报错是由于获取的元素还没加载到页面上导致的
解决方法:等待一秒 time.sleep(1)给加载页面留点时间
1.stale element reference: element is not attached to the page document
原因:这个报错是由于获取的元素还没加载到页面上导致的
解决方法:等待一秒 time.sleep(1)给加载页面留点时间