Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Some problem about continuous call JS #153

Open
jerryxing98 opened this Issue · 1 comment

1 participant

@jerryxing98

The code as follow:
from ghost import Ghost
import logging
url = 'http://service.bj.10086.cn/phone/jxhsimcard/gotone_list.html'
gh = Ghost(log_level = logging.DEBUG) # I can't get any debug information ????
gh.open(url) # success
gh.evaluate('onchangePage("4")',expect_loading = True) # return the timeout error
gh.evaluate('onchangePage("4")') #return the corrent result
gh.evaluate('onchangePage("5")') #return [None,[]] ,I don't know why it can't return the correct result?????

@jerryxing98

So how can I get the debug information in the console ?
and
how can I get the correct result when I continuous call JavaScript???

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.