Is there a way to use ES6 modules to organise the test for CasperJS, and if not what is the normal way to organise the tests?
You can use the patchRequire
method to include your CasperJs module.
Documentation: Writing CasperJS modules
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With