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

I want import a method execute in page.evaluate #105

Open
zhouseahe opened this issue Jun 28, 2014 · 0 comments
Open

I want import a method execute in page.evaluate #105

zhouseahe opened this issue Jun 28, 2014 · 0 comments

Comments

@zhouseahe
Copy link

Service.chartHistogram = function (ph,page,callback ,filename,parser){
page.evaluate(function() {
try{
var line1= $("#pageArgs").val();
var line = new Array();
line = parser(line1);
parser is a function , when exec error : Can't find variable: parser

@zhouseahe zhouseahe changed the title page.evaluate's callback doesn't work what if I want import a method executepage.evaluate's Jul 4, 2014
@zhouseahe zhouseahe changed the title what if I want import a method executepage.evaluate's I want import a method execute in page.evaluate's Jul 4, 2014
@zhouseahe zhouseahe changed the title I want import a method execute in page.evaluate's I want import a method execute in page.evaluate Jul 4, 2014
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