Support run app in new tab feature

I was going through the html training and found that there is a issue if I wish to use the app I am building. To give you an example when working through the html “anchor” tag example when I need to create a link to a tag with id “footer” on the same page. If I apply the change and without clicking run the test try and click the link I have created it opens a new browser tab with homepage.
The behavior I expect is the section of the page with web view is to scroll to the tag with id footer.