How can i invoke the Webkit Inspector via Javascript - webkit

I don't want to use the "Inspect Element" menu item to show the Webkit Inspector.
How can i invoke him via Javascript?

Even though Web Inspector is tightly integrated into the codebase of the WebKit project, the engine does not expose any way to invoke it from the JavaScript context (nor it should). This kind of thing would only be possible with a vendor-specific JS API exposing this functionality, but it isn't the case. The Web Inspector is a client-side thing, so I don't think it would make any sense, especially that it'd encourage web developers to write code specific only to browsers shipping WebKit and Web Inspector.

Related

Is it possible to embed a chromium browser within a blazor SPA

For a specific use case I am looking to run a chromium browser from within a Blazor single page application (iFrames are not a viable option as I need to listen to chromium-driven events).
The .NET implementations of chromium that I am aware of (EO.WebBrowser, CEFSharp) have WPF and Winforms implementation, but (understandably) not equivalent Blazor controls. Is what I am trying to do possible?

Platform-agnostic web framework in kotlin

I am looking for framework, that has some basic framework tools like routing, templates and possibly some other tools useful for web (but also other types of apps), that are not dependent on platform (ex. nodejs/java). I don't see reason why this has to be 100% platform specific. If there's routing and generic request/response object, there can be implementation for example both for node express or for example java servlets with correct mapping and wrappers. Has anyone tried to do that yet? I couldn't find anything.
You may want to take a look at Ktor.

Web services testing using Webdriver(SE)

Can we use selenium webdriver to test API. For example if we fill sign up form than can we check that API is called properly and the parameter we pass at sign up page are transfer at the web services?
No, Selenium webdriver is not supposed to test APIs. Yes but there are workaround you can do it in indirect way. But I'd suggest to use the tool which is meant to test APIs. There are few open source Java based DSL which you can use along with selenium.
One of them is Rest Assured.
Personally I liked this tool and integrated it with my selenium project. I use selenium to perform all the front-end operations which are required to call APIs.

How do I do in memory Web API test with attribute routing?

There seems to be a lot of help around if you do 'normal' routing to your Web Api Controllers.
I am exclusively using attribute routing. I would like to set up in memory tests to allow us much testing from "url" to "response" as possible.
Ideally I would not pollute my solution with third party helpers grabbed from Nuget. Is it possible to do these tests with the 'standard' packages?

Icenium Has No Server-Side IIS-Like Host, Correct?

If I have a working ASP.NET MVC 4 application with MVC in IIS on the back end and Angular and other scripts on the front end, and I'm looking to port that to Icenium to get it into app stores, is it correct to assume that any dynamic "server-side" stuff is outside of the scope of what Icenium will handle? In other words, the server-side implementations of any AJAX calls, etc., will not be present in the application and I'll have to make the client-side code act as though it's communicating with an external third-party API (perhaps with new concerns with cross-domain AJAX that I didn't have to worry about before).
Icenium is a Cloud Based IDE to create Cross Platform Mobile Apps. You can use any client side library like
jQuery Mobile
Kendo UI Mobile etc
to create apps. Now coming back to AJAX call scenario. Icenium has nothing to do with AJAX call. It is task of library being used to handle those and bring result back to apps.
For example if you are using Kendo UI Mobile library then you can use KendoUI DataSource to create data source using AJAX call
Bottom line is Icenium has no role in making AJAX call etc. It is an IDE which allows you to create Cross Platform mobile Apps.
One more good news is that now Icenium plugin for Visual Studio is also available
Thanks
/DJ