Browse Source

modified the weibo drop-title into lite-iconf-profile, since the web front source page was updated.

pull/5/head
Apple 6 years ago
parent
commit
e66649e4fa
  1. 2
      login/weibo/cookies.py

2
login/weibo/cookies.py

@ -53,7 +53,7 @@ class WeiboCookies():
""" """
try: try:
return bool( return bool(
WebDriverWait(self.browser, 5).until(EC.presence_of_element_located((By.CLASS_NAME, 'drop-title')))) WebDriverWait(self.browser, 5).until(EC.presence_of_element_located((By.CLASS_NAME, 'lite-iconf-profile'))))
except TimeoutException: except TimeoutException:
return False return False

Loading…
Cancel
Save