Android server not available at http://localhost:8080/wd/hub

1,238 views
Skip to first unread message

Test SCF

unread,
Sep 10, 2012, 9:51:08 AM9/10/12
to webd...@googlegroups.com, seleniu...@googlegroups.com, selenium-...@googlegroups.com
Hi all,

I am in the means of setting up of android web driver and followed the same steps as mentioned in the url : http://code.google.com/p/selenium/wiki/AndroidDriver

1) Downloaded the android SDK for windows and unpacked and placed in the path of selenium repository
 2) Set up the emulator and created the new AVD ( android virtual device ) 
3)Installed the webdriver apk 4)port forwarding in order to forward traffic from the host machine to the emulator.

 In a terminal type:

$./adb -s forward tcp:8080 tcp:8080

5) This will make the android server available at //localhost:8080/wd/hub from the host machine.

But when i went to localhost:8080/wd/hub it displayed error 404 : not found

Let me know why this is happening ? anything i missed ?

When taps on webdriver in android emulator it says webdriver ready but not displaying message as Jetty started.. can you also let me know why Jetty is not started ?

Does any one got android web driver working?

Selenium version - 2.25.0
Android version - 4.0.3 API level 15
Server APK - Tried with the one in downloads page (android-server-2.21.apk) and also android-server.apk from selenium trunk (android/prebuilt/))

Regards,
Siva

Kasam

unread,
Sep 17, 2012, 3:13:29 AM9/17/12
to webd...@googlegroups.com, seleniu...@googlegroups.com, selenium-...@googlegroups.com
Hi Siva,
 
After Step 3.(Installed the webdriver apk ) did you launched the webdriver on simulater ?..if NOT open the webDriver on andriod device  and http://localhost:8080/wd/hub/staus to know the status.
 
Cheers
Srikanth

Test SCF

unread,
Sep 18, 2012, 7:24:30 AM9/18/12
to webd...@googlegroups.com, seleniu...@googlegroups.com, selenium-...@googlegroups.com
Srikanth,

I tried the status url and got status:{0} in Chrome browser showing 404 not found and in other browsers Page cannot be displayed. While launching Webdriver on emulator, it shows Webdriver Ready and while closing shows Jetty Stopped - Still not sure why server is not accessible at  http://localhost:8080/wd/hub/

Thanks,
Siva

--
You received this message because you are subscribed to the Google Groups "webdriver" group.
To view this discussion on the web visit https://groups.google.com/d/msg/webdriver/-/Cqr47n2UeG0J.
To post to this group, send email to webd...@googlegroups.com.
To unsubscribe from this group, send email to webdriver+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/webdriver?hl=en.

pavan kumar potaraju

unread,
Jul 9, 2013, 4:48:37 PM7/9/13
to webd...@googlegroups.com, seleniu...@googlegroups.com, selenium-...@googlegroups.com
I tried debug mode but i still have the same problem. Any suggestions? I only see this for android-server-2.21.0.apk, it works for the 2.32 (newer) version. But i need the old version to use the Grid.

On Monday, April 15, 2013 4:10:13 AM UTC-7, Martina Koleva wrote:
Try starting the Android WebDriver application in debug mode. I had the same problem and this is what solved it.

$./adb -s <serialId> shell am start -a android.intent.action.MAIN -n org.openqa.selenium.android.app/.MainActivity -e debug true

Then
$./adb -s <serialId> forward tcp:8080 tcp:8080

 

and when you go to http://localhost:8080/wd/hub you see Sessions/Create Sessions/Refresh Sessions....

L P

unread,
Nov 6, 2013, 8:00:44 AM11/6/13
to webd...@googlegroups.com, seleniu...@googlegroups.com, selenium-...@googlegroups.com
I'm having the same trouble even in debug mode
Reply all
Reply to author
Forward
0 new messages