Getting Debug Information from Windows Phone Browser - windows-phone-8

Is there any possibilities to get the details like "loaded resources (test.html, test.js, test.css, test.png)", "console errors" from the web page which is loaded in the Windows phone webbrowser control?
Thanks in advance

Related

Need help in Downloading postman rest client for chrome

I am trying to download postman rest client for chrome,from the following sites
Chrome web store
https://chrome.google.com/webstore/detail/postman-rest-client/fdmmgilgnpjigdojojpjoooidkmcomcm
http://www.getpostman.com/
I am getting following error in a pop up :
An error has occurred ,Network - failed - with reload and close buttons.
My System configurations : Windows 7 , Service Pack , 64 Bit OS , 3 GB RAM .
I have tried multiple times to download it. But i am getting same error pop up each time.
can anyone please help me in sorting this out. Thank you.

What is the message dialog "Search for app in the Store?" in Windows Phone 8.1 WebView

I'm applying a WebView made for android and ios to Windows Phone 8.1.
But in the Windows Phone 8.1, a weird message dialog is launched everytime I navigate a page.
What html code cause this? I want the dialog not to launch.
That dialog appears when you try to launch a URI scheme or file type for which there is no handler installed on the device. Either the web page is attempting to navigate to a URI with an unrecognized scheme (mycustomscheme:some_parameters) or it's trying to download a file with an unrecognized file extension (somefile.myfiletype).
I encountered a similar kind of problem a few days earlier.
Actually windows phone useragent strings are like this :
Mozilla/5.0 (Mobile; Windows Phone 8.1; Android 4.0; ARM; Trident/7.0;
Touch; rv:11.0; IEMobile/11.0; NOKIA; Lumia 520) like iPhone OS 7_0_3
Mac OS X AppleWebKit/537 (KHTML, like Gecko) Mobile Safari/537
You can see there is Android and IPhone too in this string so I was working on a angular app and it was recognizing the device as a Iphone device and sending protocol like this ez:scancode which was the reason why the problem was there in the first place.
Make sure your device is right and secondly the reason of the error is that you are sending a protocol other than http/https.
You need to identify from where this protocol is raised.

While Connecting files Network error issue in Eclipse

Actually i was trying to have a login page in phonegap using eclipse,so now i have html code in eclipse as well as php code in localhost,I am getting the php code using Json in eclipse.
But after entering username & password and pressing login button.Now the issue comes that
Application Error
"There was an network error("http://192.x.x.x/learn/co.php?Username="
Have you add this settings in your config.xml :
<access origin="*"/>
More info on phone gap doc here

IBM Worklight 6.0 - Launch Windows 8 App in Visual Studio sets a wrong WL Server IP Address

When I launch a Windows 8 app from Worklight 6.0 using Run->Visual Studio Project, the app is launched inside VS using 169.254 (linnl local block) Ip address regardless the correct IP I have used using the Build for Remote Server.
Looking the generated html file inside Eclipse it looks correct, however when I launch it it gets a wrong ip address for some reason inside Visual Studio.
Here is the code snnipet with the wrong ip address
<script>
// Define WL namespace.
var WL = WL ? WL : {};
/**
* WLClient configuration variables.
* Values are injected by the deployer that packs the gadget.
*/
WL.StaticAppProps = {
"APP_DISPLAY_NAME": "My App",
"APP_ID": "cnu",
"APP_SERVICES_URL": "http:\/\/169.254.80.80:9080\/cnu\/apps\/services\/",
"APP_VERSION": "1.0",
"ENVIRONMENT": "windowsphone8",
"LOGIN_DISPLAY_TYPE": "embedded",
"WORKLIGHT_PLATFORM_VERSION": "6.0.0",
"WORKLIGHT_ROOT_URL": "http:\/\/169.254.80.80:9080\/myapp\/apps\/services\/api\/cnu\/windowsphone8\/"
};</script>
Am I doing something wrong ?
If it is overwriting the IP that you specified on build for Remote server when you launch into Visual Studio, then that's a problem. It ought to work the way you are trying.
One possible workaround is to not launch Visual Studio out of eclipse, but launch it from the Windows tiles page, and explicitly load the project in the Win8 native folder in your app.
Then whenever you switch back to Eclipse and do a build, upon returning to VS, it should notice that something changed and prompt you to reload the project.
I do this anyway, because the cycle time to build and test is shorter if you leave both eclipse and VS running.

Unable to Launch Chrome Browser in Selenium

I am launching chrome browser using
selenium = new DefaultSelenium("localhost", 4444, "*googlechrome",
"https://example.com/");
But i get a popup with following message and it freezes:
An administrator has installed Google Chrome on this system, and it is available for all users. The system-level Google Chrome will replace your user-level installation now.
Console Log till point of freeze:
Server started
16:06:37.792 INFO - Command request: getNewBrowserSession[*googlechrome, https://example.com/, ] on session null
16:06:37.796 INFO - creating new remote session
16:06:38.081 INFO - Allocated session beb925cd0418412dbe6319fedfb28614 for https://example.com/, launching...
16:06:38.082 INFO - Launching Google Chrome...
Any suggestions?
Try giving location of your chrome exe too along with browser name like this :
selenium=new DefaultSelenium("localhost", 4444, "*googlechrome C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe", "https://example.com");