You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I copy pasted it to pytest.py and tested it, but it doesn't work.
It returns:
Traceback (most recent call last):
File "C:\Users\JamesGuo\Desktop\pytest.py", line 4, in
ghost.open('http://www.openstreetmap.org/')
File "C:\Python27\lib\site-packages\ghost\ghost.py", line 431, in open
return self.wait_for_page_loaded()
File "C:\Python27\lib\site-packages\ghost\ghost.py", line 573, in wait_for_page_loaded
'Unable to load requested page')
File "C:\Python27\lib\site-packages\ghost\ghost.py", line 554, in wait_for
raise Exception(timeout_message)
Exception: Unable to load requested page
QWaitCondition: Destroyed while threads are still waiting
Environment:
Python 2.7 , Windows 7 , PyQt 4.8
Anyone came across this problem? Thanks.
The text was updated successfully, but these errors were encountered:
This is the sample use of ghost.py, http://jeanphix.me/Ghost.py/#sample
I copy pasted it to pytest.py and tested it, but it doesn't work.
It returns:
Traceback (most recent call last):
File "C:\Users\JamesGuo\Desktop\pytest.py", line 4, in
ghost.open('http://www.openstreetmap.org/')
File "C:\Python27\lib\site-packages\ghost\ghost.py", line 431, in open
return self.wait_for_page_loaded()
File "C:\Python27\lib\site-packages\ghost\ghost.py", line 573, in wait_for_page_loaded
'Unable to load requested page')
File "C:\Python27\lib\site-packages\ghost\ghost.py", line 554, in wait_for
raise Exception(timeout_message)
Exception: Unable to load requested page
QWaitCondition: Destroyed while threads are still waiting
Environment:
Python 2.7 , Windows 7 , PyQt 4.8
Anyone came across this problem? Thanks.
The text was updated successfully, but these errors were encountered: