Traceback (most recent call last):


 "/home/***/****.py", line 184, in whatsapp_web_service

driver.wait_for_login(60)


 "/home/****/****/webwhatsapi/__init__.py", line 268, in wait_for_login

EC.visibility_of_element_located((By.CSS_SELECTOR, self._SELECTORS['mainPage']))


 "/home/****/site-packages/selenium/webdriver/support/wait.py", line 71, in until

value = method(self._driver)


 "/home/****/site-packages/selenium/webdriver/support/expected_conditions.py", line 127, in __call__

return _element_if_visible(_find_element(driver, self.locator))


 "/home/***/site-packages/selenium/webdriver/support/expected_conditions.py", line 147, in _element_if_visible

return element if element.is_displayed() == visibility else False
AttributeError: 'unicode' object has no attribute 'is_displayed'
Traceback (most recent call last):


 "D:\tools\XX-Net-3.7.9\code\default\python27\1.0\lib\threading.py", line 801, in __bootstrap_inner

self.run()


 "D:\tools\XX-Net-3.7.9\code\default\python27\1.0\lib\threading.py", line 754, in run

self.__target(*self.__args, **self.__kwargs)


 "D:\tools\XX-Net-3.7.9\code\default\gae_proxy\local\google_ip.py", line 652, in scan_ip_worker

xlog.exception("google_ip.runJob fail:%r", e)
AttributeError: 'NoneType' object has no attribute 'exception'
