How do you Inspect Element in Kiosk Apps?

2,789 views
Skip to first unread message

Spencer Shaw

unread,
Oct 13, 2015, 6:40:08 AM10/13/15
to Chromium Apps
For debugging purposes how do you enabled Inspect Element in a Kiosk App i.e. to right click with a mouse and go to inspect element.

I have enabled the following flags in the about://flags page but they have had no effect
#ash-debug-shortcuts
#debug-packaged-apps

manifest.json file
{
"name":"XXXX",
"version":"0.17.0",
"manifest_version":2,
"minimum_chrome_version":"37.0.0.0",
"permissions":
[
"webview",
"power",
"storage",
"videoCapture",
"geolocation",
"pointerLock",
"system.display",
{
"fileSystem":["write","retainEntries","directory"]
},
"accessibilityFeatures.read",
"accessibilityFeatures.modify"
],
"app":{"background":{"scripts":["js/foam.js","js/cab.js","config.js","background_main.js"]}},
"kiosk_enabled":true,
  "kiosk_only": true,
"default_locale":"en",
"icons":{"128":"img/128.png"}}

Mac Pham

unread,
Oct 13, 2015, 3:02:28 PM10/13/15
to Chromium Apps
Are you referring to an HTML5 app that is inside a webview?

Open a Chrome tab and go to chrome://inspect/#apps and that will let you inspect a webview.

Spencer Shaw

unread,
Oct 13, 2015, 3:24:07 PM10/13/15
to Chromium Apps
No. I want to be able to access the developer tools when the kiosk app is running.

Lessard, Steve

unread,
Oct 13, 2015, 3:31:20 PM10/13/15
to Spencer Shaw, Chromium Apps
It’s the same process.

1. Load your kiosk app
2. In a new browser window load chrome://inspect#apps
3. In the list that appears click on your kiosk app and the developer tools will magically appear







On 10/13/15, 12:24 PM, "chromi...@chromium.org on behalf of Spencer Shaw" <chromi...@chromium.org on behalf of spencer...@gmail.com> wrote:

>No. I want to be able to access the developer tools when the kiosk app is running.
>
>--
>You received this message because you are subscribed to the Google Groups "Chromium Apps" group.
>To unsubscribe from this group and stop receiving emails from it, send an email to chromium-app...@chromium.org.
>To post to this group, send email to chromi...@chromium.org.
>Visit this group at http://groups.google.com/a/chromium.org/group/chromium-apps/.
>For more options, visit https://groups.google.com/a/chromium.org/d/optout.

Ben Schrader

unread,
Nov 21, 2023, 5:30:47 PM11/21/23
to Chromium-Apps-Announce, Lessard, Steve, spencer...@gmail.com
8 years later this was super helpful. Thank you!!

Alfred Velasquez

unread,
Nov 21, 2023, 7:05:45 PM11/21/23
to Ben Schrader, Chromium-Apps-Announce, Lessard, Steve, spencer...@gmail.com
Let do a zoom call 


You received this message because you are subscribed to the Google Groups "Chromium-Apps-Announce" group.

To unsubscribe from this group and stop receiving emails from it, send an email to chromium-app...@chromium.org.

Nina Bobo

unread,
Dec 16, 2023, 3:51:03 AM12/16/23
to Chromium-Apps-Announce, 1233...@c-vusd.org, Chromium-Apps-Announce, Lessard, Steve, spencer...@gmail.com, schrad...@gmail.com
Reply all
Reply to author
Forward
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
0 new messages