How to access DOM in neutralino.js

189 views Asked by At

I'm opening some webiste by simply using:

window.location.href = "https://someaddress";

in my neutralino app.

How can I access html (dom) of the viewed page and interact with it? Is it possible in neutralino.js?

1

There are 1 answers

0
codecaine On

You can access the DOM the same way you would in regular webpage.

For example: let myDivs = document.querySelectorAll("div") to select all div elements on the page.