The 'Add to homescreen' link is not visible in Chrome Devtools - Application - Manifest - google-chrome-devtools

I am trying to simulate the 'Add to Homescreen' event as described in this guide from google. But, that blue link 'Add to homescreen' that they have in their screenshot under DevTools - Application - Manifest simply isn't there on my Chrome Dev Tools. I've tried it on several PWAs (including the Google I/O 2016 progressive web app PWA suggested as a page to try the feature on in the first link). No luck. That link simply isn't there.
Ultimately, I want to catch the event, prevent the default and then show the user a custom 'Install this app' message, as suggested in this guide. But to test it, I need this Chrome DevTools feature.
My Chrome DevTools version is 76.

Link the web manifest and add a link for the website in the html file
https://openclassrooms.com/en/courses/2479876-build-your-website-with-html5-and-css3/2490386-creating-links
For example
<p>This is the homescreenlink ?<br />
</p>
In Running the chrome development tools,
it is important to check what is the error maessage in the application list.
https://developers.google.com/web/tools/chrome-devtools/progressive-web-apps
What are the error messages you get when you work on this?
https://developers.google.com/web/fundamentals/app-install-banners/
One can debug with this tutorial.
https://developers.google.com/web/tools/chrome-devtools/javascript/reference

Related

The browser-default installation prompt for my PWA is not displayed. Why?

I followed all recommended steps for setting up a PWA which can be installed on the user device, following the guideline here: Installable PWAs (MDN):
To make the website installable, it needs the following things in place:
- A web manifest, with the correct fields filled in
- The web site to be served from a secure (HTTPS) domain
- An icon to represent the app on the device
- A service worker registered, to allow the app to work offline (this is required only by Chrome for Android currently)
Still, I don't see the browser-default installation prompt.
How do I find out, why my PWA cannot be installed?
I recommend using Lighthouse, which is an excellent tool for auditing your web app with respect to different categories, including PWA properties. It is also available in Google Chrome in the developer tools (Ctrl-Shift-I / Cmd-Opt-I and select tab Lighthouse).
How do I trigger a PWA audit in Lighthouse (in Google Chrome)?
Choose the category Progressive Web App and then click on Generate report.
Example report
In the example below, you can see that there are some issues present. But the reason, why you don't see the installation prompt is the service worker. Apparently, it isn't registered as expected.
Web app manifest or service worker do not meet the installability requirements

Google Web Toolkit plugin is not working for chrome browser

I am a new user of Google Web Toolkit.
I tried to run my application in chrome browser.
But it was asking me to download the plugin to run GWT applications.
Then i gone through the link but it was showing me this problem....NOT COMPATIBLE
Please provide help.
Release Notes for 2.6.1
GWT Development Mode will no longer be available for Chrome sometime
in 2014, so we improved alternate ways of debugging. There are
improvements to Super Dev Mode, asserts, console logging, and error
messages.
enter link description here

Get error messages Chrome packaged app

How can I see error messages when running a Chrome packaged app? I've been running the app in the browser and using DevTools but this technique has it's limitations.
If you need to inspect app windows, you can reach them at chrome://inspect/#apps
Or, as Daniel mentions, use the Developer Tool app.
General Chrome Debugging
By opening
chrome://inspect/#apps
you may debug all Apps and Extensions.
You may also like the official Google Chrome Apps & Extensions Developer Tool
Debugging Chrome Extensions
As described in the chrome developer Tutorial you can activate the developer mode within the settings. Afterwards an inspect popup option is avaialbe when you right-click an app-icon.

Chrome does not show network traffic of Silverlight RIA services messages after update to version 32.0.1700.76 m

Couple days ago Google Chrome automatically updated from version 31.* to version 32.0.1700.76 m. After that happened it does not show in DevTools network traffic request/responses of "application/msbin1" type anymore. These requests are visible in all other browsers' dev tools (FireFox, IE) and in Fiddler, but not in Chrome. Also Chrome's popup menu in this version is very glitchy.
I don't see the way to downgrade Chrome to previous version. Please help I don't want to uninstall Chrome.
Network traffic does not even show resources (XAP file) a page loads.
Example:
http://www.microsoft.com/silverlight/pixel-shader/demo/
This page loads file SilverlightShaderApp.xap, however dev tools of new Chrome's version never shows it in network tab.
I posted the question here, because it's developers question, not just chrome users.
I reported this issue on google chrome forum as well: here.
Possibly related bugs:
Issue 173844: Developer tools (Network section) don't show response of requests from flash applications
Issue 335502: XMLHttpRequests from Silverlight is not visible in devtools network tab
To avoid the bug, you could downgrade to Chrome 31. A fully offline installer can be downloaded from http://download.oldapps.com/Chrome/31.0.1650.39_chrome_installer.exe.
If you downgrade Chrome, don't forget to disable auto-update. Also, "star" the relevant issues on Chromium's issue tracker so you'll receive email notifications for progress updates. When the issue is fixed, enable auto-update again.
Often, starting a new version of Chrome renders a profile unusable for older Chrome versions ("Your profile can not be used because it is from a newer version of Google Chrome."). When you see such message on start-up, either delete your old profile (don't forget to make a back-up!) (you can also try to delete some files, according to various users, deleting "Web Data" and "Web Data-journal" is sufficient), or launch Chrome with a new profile directory (--user-data-dir=path\to\profile-dir).
For more information on user profiles, see http://www.chromium.org/user-experience/user-data-directory.

IBM Worklight - How to debug an application?

How can I view my Worklight developed website or pages in Google chrome? I want to inspect element for the page.
Revised answer based on comments:
Make sure that you are using an external browser (in your case, Chrome) to preview the application. You can do that in Eclipse via Preferences >> Browsers.
Please also read the following training module: Debugging your application.
For debugging a worklight app in google chrome
right click on project--> open worklight console--> right click on browser's properties-->copy the url and paste it into chrome's address bar. By using this you, easily see the worklight developed page on chrome.
Open Worklight Console
Under Mobile Web >> 'Click on Get App URL'
Run the app url in any browser