launch server:
bash ./wptdriver.sh -m debug --browser android:deviceName --serverUrl “private instance url” --location AndroidLocation --processvideo yes &
batch_tool script:
python ./wpt_batch.py -s “private instance server url” -i ./urls.txt -f ./result -o AndroidLocation -c ./script.txt
two script.txt:
1.script.txt:
navigate http://m.baidu.com
execAndWait document.getElementById(‘login’).click()
sleep 5
2.script.txt:
logData 0
navigate https://m.baidu.com/
logData 1
clickAndWait id=login
two script run result:
1.navigate is ok, open test url on android chrome
2.execAndWait / clickAndWait not running
why?please help me,thanks.