0 Replies Latest reply: Feb 2, 2017 10:17 AM by swana woo RSS

    can i use casper in qlik sense extension(how to use folder when define it at first of extension js code)

    swana woo

      I'm trying to use casperjs to my extension and I downloaded the folder of

       

       

      votefavorite

       

       

      I tried to use the casper.js(I just put casper.js file inside the extension file) inside qlik sense extension. but it gives 2 errors like

      1. Uncaught ReferenceError: patchRequire is not defined at casper.js??1481126454213:32
      2. Error: Module name "casper" has not been loaded yet for context: _. Use require([])http://requirejs.org/docs/errors.html#notloaded

      I think it also needs a module folder to be used, so I'm trying to add whole file of casper which i downloaded from http://casperjs.org/ (I just clicked 'Download CasperJS'). but i don't know how...

      please help me. Thank you ...in advance!