Selendroid not working?

http://selendroid.io/setup.html Here is an example of what I should get when I open localhost in port 4444.

But instead, I get:

{"value":{"os":{"name":"Windows 7","arch":"x86","version":"6.1"},"build": {"browserName":"selendroid","version":"0.10.0"},"supportedDevices":[],"supportedApps": [{"mainActivity":"io.selendroid.androiddriver.WebViewActivity","appId":"io.selendroid.androiddriver:0.10.0", "basePackage":"io.selendroid.androiddriver"}]},"status":0} 

The device is connected to a PC and does not have a screen lock, but it was not detected.

What's wrong?

(I don't have an exp with Selenium or Selendroid and am trying to start now)

+2
source share
1 answer

On your device, you need to enable USB debugging, which is in developer mode.

then enter the command into the promt command: adb devices

It should display attached devices.

+1
source

Source: https://habr.com/ru/post/1260902/


All Articles