原则很简单:滑动页面,直到元素可见
screensize = driver.get_window_size()screenW = screensize['width']screenH = screensize['height']x = screenW/2y1 = int(screenH * 0.8)y2 = int(screenW * 0.4)driver.swipe(x, y1, x, y2, 3000)driver.find_element_by_id("com.tencent.qqlive:id/ahs").click()