Hi All
I have created a docker image to hold an appium server on a docker container.
docker run --privileged -d -p 4723:4723 -v /dev/bus/usb:/dev/bus/usb --name container-appium appium/appium
I see the appium server running with below logs
docker exec a3db57777964 appium -view
Appium server seems running
When i ran a selenium script below opening a simple script opening a google then im getting error,
Unable to find adb devices.
DesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.setCapability(CapabilityType.BROWSER_NAME,BrowserType.CHROME);
capabilities.setCapability("deviceName", "Nexus 6");
capabilities.setCapability("platformVersion", "8.1.0");
capabilities.setCapability("platformName", "Android");
//URL url= new URL("http://0.0.0.0:4723/wd/hub");
URL url= new URL("http://192.168.99.100:4723/wd/hub");
//URL url= new URL("http://0.0.0.0:4723/wd/hub");
driver = new AndroidDriver(url, capabilities);
driver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS);
driver.get(“http://www.google.com”);