代码如下#向下翻滚动条count = 0while count < 5: ** web.execute_script('windows.scrollTo(0,document.body.scrollHeight)')** time.sleep(3) count += 1
翻动滚动条这行报错,页面直接关闭了,该如何解决呢?