How to open a new windows on compiled electron

I have an electron application that is compiled, i want to open a new window of the electron app ( with like a website ) with a js script that i put on the console, any idea?

tried : var tag = document.createElement("p"); var text = document.createTextNode("Tutorix is the best e-learning platform"); tag.appendChild(text);

and other things but i forgot x)