Not able to run android agent

Hi,

I am really new to this. So would really appreciate help in this. I am trying to set up a private instance to do some testing on my android device which is a Pixel2.

I have installed all the dependencies but when I try to start the agent like this:./wptdriver.sh -m debug --browser android:HT******** --serverUrl 127.0.0.1 --local Example_Pixel2 --processvideo yes

I get the error shown here: node --max-old-space-size=4096 --expose-gc src/agent_main --serverUrl 127.0.0.1 - Pastebin.com

Any help in this regard will be appreciated. If you can only point me in the right direction I will try to figure out on my own.

“Error: Unexpected ‘su’ output: /system/bin/sh: su: not found”

I’m pretty sure that error means your android device isn’t rooted.