droidscript

How can I run CasperJS files in Android?

≡放荡痞女 提交于 2019-12-12 02:05:34
问题 How can I install and run CasperJS files in Android? Is it possible? I would like to create an equal application droidscript with test functions and execute on a webview. 回答1: CasperJS is built on top of PhantomJS (and SlimerJS). Those are browsers themselves. They cannot be run in a WebView. It may be possible to compile, though I didn't find any documented trials. You should be able to port the PhantomJS API to an Android WebView and then make some adjustments to CasperJS so that it uses