Not able to see url in webdriver

Dec 4, 2014 at 7:49 AM
Hi,
I am using nokia lumia 520 and i installed the webdriver in it.when i open the web driver it just shows black screen nothing else.
when i write code in selenium to navigate to url it shows exception in main.
The error is :--Exception in thread "main" org.openqa.selenium.remote.UnreachableBrowserException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure.

The code is :

WebDriver driver;
String url ="http://<ip>:8080";
      driver = new RemoteWebDriver(new URL(url), DesiredCapabilities.internetExplorer());
driver.navigate().to("https://www.google.com/");


i am using Winphonedriver 4.14.028.10.
Please help me with this issue if u can. thanks.
Coordinator
Dec 4, 2014 at 9:42 AM
What could be checked first is that the connection is working between the device and the machine you are running the tests with.

What do you see if you try to access the URL with your Web browser? Depending a bit how your browser renders "HTTP/1.1 501 Not Implemented"-response, you should see something rather than a timeout, for example.

If the connection is working correctly, here is what curl should print when run on the machine you are running the tests with:
$ curl http://<ip-of-the-windows-phone-device>:8080
Sorry, not implemented yet.
Dec 4, 2014 at 9:55 AM
i tried to access the device url , it showed like connection time out.
and about the code i passed the url of ip through a variable and directly also i tried but not working.

And main thing is that on the device screen when i open the webdriver," i am not able to see any thing but blank screen."
Coordinator
Dec 9, 2014 at 10:02 AM
Edited Feb 4, 2015 at 10:07 AM
The build I am using is from my personal fork at https://winphonewebdriver.codeplex.com/SourceControl/network/forks/vjrantal/winphonewebdriver .

I uploaded an experimental release to https://winphonewebdriver.codeplex.com/releases/view/611322 in case you want to try if the result is the same.

You should use the Windows Phone Application Deployment tool that comes with the SDK ( http://msdn.microsoft.com/library/windows/apps/ff402565%28v=vs.105%29.aspx#BKMK_tool ) to deploy the .xap since this version doesn't work together with the deployment tools you can find included in this project's release content.

If with this app build you still see only blank screen, could you let me know the detailed version of the Windows Phone OS you have on your Lumia 520.
Dec 9, 2014 at 11:05 AM
Thanks for ur support vjrantal, i will try with the build u have given and update u with what ever result i get.