Skip to Content
Menu
This question has been flagged
2 Replies
4802 Views

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
Discard
Author 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
Discard
Related Posts Replies Views Activity
0
Apr 15
2482
0
Oct 18
2964
1
Sep 15
5444
1
Mar 15
3050
2
May 21
5271