滚动方法有问题。这是我的代码,看起来运行良好,但完全忽略了self.driver.execute_script("window.scrollTo(0,document.body.scrollHeight);")行。请记住,我不能在末尾使用任何特定的元素,比如'self.driver.find_element_by_id‘,因为它们一直在变化。 self.login() time.sleep(2)
vie
我的代码在我的笔上很好用.我已经在我的网站上看过这个了,但我只是不知道问题出在哪里。var click = document.getElementById('click');
var quoteList = ["'You will never be happy if you continue to search for what happiness consists of. You will never live if you are lo