跳至內容
選單
此問題已被標幟
2 回覆
5422 瀏覽次數

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.

頭像
捨棄
作者 最佳答案

the answer is phantomjs version 1.7, referred to odoo documentation (https://www.odoo.com/documentation/8.0/reference/javascript.html#running-through-python)

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
4月 15
3158
0
10月 18
3817
1
9月 15
6576
1
3月 15
3680
2
5月 21
6213