Skip to Content
Menú
This question has been flagged
2 Respostes
5318 Vistes

Hello,

Currently, i developing a test for web module, and experiences problem like this :

TypeError: undefined is not an object (evaluating 'phantom.args.length').

After make some googling, i found in phantomjs website that  'phantom.args' is deprecated (http://phantomjs.org/api/phantom/property/args.html)


>> installed phantomjs v.2.0.0 in my local development.


Thank you.

Avatar
Descartar
Autor Best Answer

the answer is phantomjs version 1.7, referred to odoo documentation (https://www.odoo.com/documentation/8.0/reference/javascript.html#running-through-python)

Avatar
Descartar
Related Posts Respostes Vistes Activitat
0
d’abr. 15
3069
0
d’oct. 18
3700
1
de set. 15
6461
1
de març 15
3583
2
de maig 21
6072