pyside - python and ghost crash -
i'm trying ghost work python , have followed instructions installation on http://ghostpy.readthedocs.org/en/latest/ run
from ghost import ghost gh = ghost
it throws error
process finished exit code -1073740771 (0xc000041d)
when run
import pyside print(pyside.qtcore.__version__) print(pyside.__version__)
it gives me
4.8.5 1.2.2
suggesting both qtcore , pyside installed according instructions. know how troubleshoot this?
i'm using python 3.4 , pycharm 4.0.5.
you typed gh = ghost
without parentheses ()
. should such:
gh = ghost()
from docs:
from ghost import ghost url = "http://www.ebay.com/" gh = ghost() #right here # load main page of ebay page, resources = gh.open(url, wait_onload_event=true) # full main bar , click on search button gh.set_field_value("#gh-ac", "plane") gh.click("#gh-btn") # wait next page gh.wait_for_selector("#e1-15") # save image of screen gh.capture_to("plane.png")
Comments
Post a Comment