I am working on tool that would help me to gather data from website. I want to open a new tab in JS and then: find certain div and take string from it. For what I checked document.getElementById() is not working because it is still looking in main .html Could you help me with finding proper way to call the website in a new tab?