safari-web-inspector

Debugging web apps added to home screen on iOS Safari

有些话、适合烂在心里 提交于 2019-12-22 03:23:19
问题 I'm trying to debug a web app that is added to home screen. I have enabled web inspector on safari. I am able to debug the app if I open in iOS safari but when I add the app to home screen and try to debug, it shows 'No Inspectable Applications'. Any help would be appreciated. iOS version: 11.2 MacOS Safari version: 11.0.1 回答1: You should put focus on the app first and then press: Option+Command+i So you do not open the inspector in advance in this case. This is not possible because you can

Ionic 2 - debugging Typescript files using source maps

删除回忆录丶 提交于 2019-12-12 23:02:52
问题 I am using Ionic 2 RC1. I want to know how to include source maps for every .ts file that is transpiled into main.js file and include their mappings in main.js.map. Somehow when trying to debug the app loaded into an iPad connected to my Mac from Safari, I don't see .map file being loaded/visible in the network tab or resource tab. I turned on Web Inspector on my iPad. How do I troubleshoot source map missbehaviour and what can I do to make it available in Safari, Chrome and other browsers.

Inspecting a code on Safari Web Inspector- and accidentally dragging the code elsewhere: Now Getting ERROR

这一生的挚爱 提交于 2019-12-12 04:37:21
问题 SAFARI > DEVELOP > SHOW INSPECT: I'm learning python, and saw this cool tutorial- where you use the import web browser command to open google chrome, so I wanted to see if I can automatically login to a webpage as my next task using python. I decided on using Google's Gmail page as the page I would try to log into using python. My goal was to direct python to input my user @gmail address and password so I research the topic and learned that I needed to target the input fields. But, I didn't

How to setAcceptUntrustedCertificates for Safari.

a 夏天 提交于 2019-12-11 04:59:30
问题 With version 2.30, selenium webdruiver has given in built support for Safari browser. I want to know how to handle SSL Certificates in Safari (which is installed on Windows). Below piece of code I tried but its not working: DesiredCapabilities capabilities = new DesiredCapabilities(); capabilities.setCapability(CapabilityType.ACCEPT_SSL_CERTS, true); capabilities.setBrowserName("SAFARI"); driver = new SafariDriver(capabilities); driver.get("https://MYDUMMYSITE"); 回答1: I have countered the

Safari web inspector “No Inspectable Applications” when ipad connected to mac book pro

折月煮酒 提交于 2019-12-10 13:59:20
问题 I have been searching/reading over the steps to set up the web inspector from an ipad on the mac. It all seems straight forward and it always shows the ipad connected in the develop drop down (in safari on the mac). But it never allows anything to be selected from my ipad ( “No Inspectable Applications” ), no matter what site I have pulled up in safari on my ipad. I have a second gen Ipad 32 Gig IOS version 8.0.2 (I started with 7.0.1 then upgraded to 7.0.2 then 8) I am using a Mac Book Pro

Use Safari Web Inspector with apps compiled for production

懵懂的女人 提交于 2019-12-07 02:05:36
问题 Is there a way (even using private methods) to use the Safari Web Inspector in apps built for production (enterprise apps for instance). I tried to use _setDeveloperExtrasEnabled of WKPreferences , but still no luck in firing the inspector once the app is deployed. Any other trick to help javascript developers debug their app, without having access to the source code? In other words, is there a way to distribute an app that can be inspected with the Safari Web Inspector? (using private

Use Safari Web Inspector with apps compiled for production

雨燕双飞 提交于 2019-12-05 05:54:46
Is there a way (even using private methods) to use the Safari Web Inspector in apps built for production (enterprise apps for instance). I tried to use _setDeveloperExtrasEnabled of WKPreferences , but still no luck in firing the inspector once the app is deployed. Any other trick to help javascript developers debug their app, without having access to the source code? In other words, is there a way to distribute an app that can be inspected with the Safari Web Inspector? (using private methods is fine) There is no way to do that with a Distribution (enterprise, ad-hoc, app-store) certificate.

Does IOS Safari support Shadow DOM?

拈花ヽ惹草 提交于 2019-12-04 20:41:17
问题 My application is able to render the Shadow DOM, but the inspector cannot display the shadow root. Can anyone help me out on this? 回答1: It depends on which Shadow DOM you mean—Shadow DOM v0 or Shadow DOM v1. See http://caniuse.com/#feat=shadowdomv1 and http://caniuse.com/#feat=shadowdom No version of Safari supports Shadow DOM v0. But as far as iOS Safari, version 10.2+ support Shadow DOM v1 with the following limitation: Certain CSS selectors do not work ( :host > .local-child ) and styling

How to apply a hidden / remote sourcemap in Safari?

那年仲夏 提交于 2019-12-04 12:33:18
问题 I'm attempting to debug an issue in my react app, that's only occurring on iOS, in production. I want to utilise a hidden sourcemap so I can debug the app's minified assets in Safari without overtly publishing the commented source. hidden-source-map - Same as source-map, but doesn’t add a reference comment to the bundle. https://webpack.github.io/docs/configuration.html#devtool In Chrome I can: serve the sourcemap wherever I like (eg main.js.map right next to the minified file) open the

Does IOS Safari support Shadow DOM?

落爺英雄遲暮 提交于 2019-12-03 13:48:37
My application is able to render the Shadow DOM, but the inspector cannot display the shadow root. Can anyone help me out on this? It depends on which Shadow DOM you mean—Shadow DOM v0 or Shadow DOM v1. See http://caniuse.com/#feat=shadowdomv1 and http://caniuse.com/#feat=shadowdom No version of Safari supports Shadow DOM v0. But as far as iOS Safari, version 10.2+ support Shadow DOM v1 with the following limitation: Certain CSS selectors do not work ( :host > .local-child ) and styling slotted content ( ::slotted ) is buggy. As far as differences between Shadow DOM v0 and v1, see https:/