Browse Source

Merge pull request #5 from ivuex/modify-login-drop-class

modified the weibo drop-title into lite-iconf-profile, since the web …
master
崔庆才丨静觅 6 years ago committed by GitHub
parent
commit
e724f8d19b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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