How can I compile phantomjs to static / dynamic library?

17 views
Skip to first unread message

3773...@qq.com

unread,
Jan 9, 2016, 9:24:59 PM1/9/16
to phantomjs

I wish to have a CPP interface such like

void libphantom_run(const char *javascript_string, const char *proxy_server, const char *cookie_path......)

to replace it's command line API in my CPP program. Still use javascript to do most work what phantomjs can. So I can integrate phantomjs in my program / system better.

But I didn't find any official document or existing open source projects making phantomjs as a library.

Reply all
Reply to author
Forward
0 new messages