Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
2 Besvarelser
5423 Visninger

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
Kassér
Forfatter Bedste svar

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
Kassér
Related Posts Besvarelser Visninger Aktivitet
0
apr. 15
3158
0
okt. 18
3817
1
sep. 15
6576
1
mar. 15
3680
2
maj 21
6213