İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
5418 Görünümler

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
Vazgeç
Üretici En İyi Yanıt

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Nis 15
3158
0
Eki 18
3815
1
Eyl 15
6576
1
Mar 15
3680
2
May 21
6212