How do I update current URL with another parameter?


I’m new to electron & trying to show a webpage using browser window. Once the page is loaded into browser window, based on certain parameters in the URL, i need to append another parameter and load it.

I’m trying to listen events emitted by browser window. But its not working for all cases.How do I add a new parameter into current URL? Is there anyway?


Check the History API(pushState function).

This should be used in a BrowserWindow as it is a window.history HTML5 object