Skip to Content
Menu
This question has been flagged
2 Replies
5417 Zobrazenia

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
Zrušiť
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
Zrušiť
Related Posts Replies Zobrazenia Aktivita
0
apr 15
3157
0
okt 18
3813
1
sep 15
6574
1
mar 15
3678
2
máj 21
6206