Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
5370 Widoki

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.

Awatar
Odrzuć
Autor Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
kwi 15
3086
0
paź 18
3743
1
wrz 15
6481
1
mar 15
3606
2
maj 21
6103