From 6925dacab32ccbd244265a7fb9ffe93e5e79cd42 Mon Sep 17 00:00:00 2001 From: luolongfei Date: Wed, 10 Nov 2021 16:35:03 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=85=83=E7=B4=A0=E6=A3=80?= =?UTF-8?q?=E6=B5=8B=E7=9A=84=E7=AD=89=E5=BE=85=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- netflix.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/netflix.py b/netflix.py index fd51e45..232d4a5 100644 --- a/netflix.py +++ b/netflix.py @@ -77,7 +77,7 @@ def wrapper(*args, **kwargs): class Netflix(object): - VERSION = 'v0.3' + VERSION = 'v0.3.1' # 超时秒数,包括隐式等待和显式等待 TIMEOUT = 23 @@ -391,7 +391,7 @@ def element_visibility_of(self, xpath: str) -> WebElement or None: :return: """ try: - self.driver.implicitly_wait(0.5) + self.driver.implicitly_wait(2) el = self.driver.find_element_by_xpath(xpath)