Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
5348 Visualizzazioni

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
Abbandona
Autore Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
apr 15
3077
0
ott 18
3733
1
set 15
6470
1
mar 15
3588
2
mag 21
6085