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

can i send ajax request in the page to take screenshot? #109

Open
VincentWang1009 opened this issue May 26, 2015 · 0 comments
Open

can i send ajax request in the page to take screenshot? #109

VincentWang1009 opened this issue May 26, 2015 · 0 comments

Comments

@VincentWang1009
Copy link

I have a js file

webshot(fileContent,'test.png',{siteType:'html', renderDelay: 5000},function(err){
    console.log('finish');
});

fileContent is the file that I want to take screenshot,In this html I have a ajax request ($.ajax) ,but when I run this script, it seems something error occur (both success callback and fail callback did not run).when I run that page in a real browser,it works fine.

@VincentWang1009 VincentWang1009 changed the title can i send ajax request in the page to take shot? can i send ajax request in the page to take screenshot? May 26, 2015
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