Question about how to close a page individually

Hello. Due to business requirements, I need to open another page from the main page, perform a download, and then close the page. However, when I use the [CloseWindow] method on the second page, it closes the entire browser, causing all pages to disappear. Since the webpage does not have a [Close] method, are there any other methods I might have overlooked that can correctly close the current page without closing all pages? Thank you.

BAO

@BAOX17175074The easiest way I have found to do this is to use the SendKeys method of the page control and send “^w” (ctrl+w without the quotation marks).

@ThomasSasnett Thank you!!
BAO