Originally,
Chromium Edge WebGadget was created to demonstrate how easy it is to include simple but robust (JavaScript, HTML5, CSS3) features into a PureBasic application. After months of continued improvements more complex features were supported.
Over the past few months access to DevTools has been added, providing nearly unrestricted control over the browser.
For those of you unfamiliar with DevTools, open your browser and press the F12 key; most of what you see can be accessed using PureBasic.
See the Chrome DevTools Protocol webpage for available commands.
--------------------------------------------------
Updated:
-
improved CE_WebGadget_DevTools_Remote.pb
- some naming convention changes
- squashed a couple bugs
Currently, the improved WebSocket script is being added to the main package; see previous posts for additional information.
Due to these changes
CE_WebGadget_DevTools_Detail.pb is only partially working.
CE_WebGadget_DevTools_Remote.pb
Previously this example could only be used as a companion to
CE_WebGadget_DevTools_Basic.pb and
CE_WebGadget_DevTools_Detail.pb.
With the recent changes the example can now be used as a standalone tool, working with your regular browser.
1. Press the Chromium Edge button.
2. Press the Connect Port button.
3. Press the Connect DevTools button.
4. Press the Send Command button.
As the
Chrome DevTools Protocol is quickly becoming the default framework for browsers across OS platforms,
CE_WebGadget_DevTools_Remote.pb should only require a few modifications to work in OSX and Linux
