PhantomJS and CasperJS | ||
See Browser Automation.
|
How to install CasperJS and PhantomJS for Tiki | |
|
1.1.1. Test the installation | |
Create a file (ex.: scrape.php) with the following content Copy to clipboard
|
1.1.2. Expose them system-wide (optional) | |
In case you need to run some custom programs on a server which require casperjs and phantomjs, you may expose those programs to the whole server so that they can get accessed system wide from the usual Imagine that your root tiki folder is Copy to clipboard
|
Troubleshooting | |
If you get the following error, just stop the script and try again later Copy to clipboard
Copy to clipboard
|
Related links | |
|
Open Hub | |
alias
|