Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test isn't working #1

Open
matanka opened this issue Aug 31, 2020 · 0 comments
Open

test isn't working #1

matanka opened this issue Aug 31, 2020 · 0 comments

Comments

@matanka
Copy link

matanka commented Aug 31, 2020

Hey,

I'm having trouble running this line:
msgs = chat_page.messages.newest(10, filterby='contact')

I'm getting this error:
Traceback (most recent call last):
File "", line 1, in
File "C:...\Envs\whatsapp\lib\site-packages\simon\chat\elements.py", line 126, in newest
msgs = self.all(filterby)
File "C:...\Envs\whatsapp\lib\site-packages\simon\chat\elements.py", line 111, in all
order_by_oldest = [self.child_class(e, self.driver) for e in self.__find_elements(locator)]
File "C:...\Envs\whatsapp\lib\site-packages\simon\chat\elements.py", line 153, in __find_elements
lambda driver: self.driver.find_elements(*locator))
File "C:...\Envs\whatsapp\lib\site-packages\selenium\webdriver\support\wait.py", line 77, in until
time.sleep(self._poll)
KeyboardInterrupt

it's just stuck and nothing seems to work.

plus after few seconds when trying to run this line:
opened_chats = pane_page.opened_chats

I get this error:
Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it'))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant