Console Logging API
The Console Logging API provides objects, methods, and properties that let you communicate from your app to the F12 developer tools console. The Microsoft Edge Console Logging API is similar to that of other major browsers, making it easy to test and debug your site for cross-browser compatibility.
The WebDriver API is a platform and language-neutral interface and wire protocol allowing programs or scripts to control the behavior of a web browser. Here’s how to get started with WebDriver for Microsoft Edge.