Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
5428 Переглядів

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)

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
0
квіт. 15
3159
0
жовт. 18
3821
1
вер. 15
6576
1
бер. 15
3680
2
трав. 21
6216