selenium - Android server not available at http://localhost:8085/wd/hub -


i in means of setting of android web driver , followed same steps mentioned in url : http://code.google.com/p/selenium/wiki/androiddriver

1) downloaded android sdk windows , unpacked , placed in path of selenium repository 2) set emulator , created new avd ( android virtual device ) 3)installed webdriver apk 4)port forwarding in order forward traffic host machine emulator.

in terminal type:

$./adb -s forward tcp:8085 tcp:8085(since 8080 occupied i'm using 8085) 

5) make android server available @ //localhost:8085/wd/hub system.

but when went localhost:8085/wd/hub displayed not connect www.localhost.com:8085. may know why? kindly me fix this.

when say, "but when went to" mean visit url in browser? sounds browser not know url , tries smart , assume mean www.localhost.com:8085. if so, add protocol request. in stead of localhost:8085/wd/hub use http://localhost:8085/wd/hub.


Comments