-
Notifications
You must be signed in to change notification settings - Fork 249
Description
I have been working with webui for some time, using it for its intended purpose, as the output of the program interface. Recently, I have discovered that using a browser (we understand that in fact this is not just a form for the output of our program and user input, but the full power of modern browsers hidden under the hood) I solve problems that are solved with difficulties or not solved at all in the native programming language. From the latter - html parsing and xpath extraction, it turned out to be elementary to solve on the browser side, while the cumbersome bundle on the native side: the language - library wrapper to webdriver - webdriver itself (hello, Selenium) - browser - and the same difficult road in the opposite direction, was replaced by a couple of functions on js, directly related to language via webui.
Hence the question, since, it is already obvious, webui is not just a form for output, but a full-fledged step towards seamless interlanguage interaction, it would be logical to implement the possibility of either headless launching of a browser instance with all the capabilities of webui or just a hidden browser window so that you can use your programs with ordinary forms or in simple ones console applications, use the capabilities of libraries on js and the browser itself via webui, without using the browser's capabilities as a form of interface output and user data input