"Action: Close Page" vs "ClosePage()"
Action: Close Page
“Action: Close Page” closes the opened pop-up page on the parent page.
You CAN NOT close the page on that opened page. You can ONLY close it on the parent page.
ClosePage() Command
“ClosePage()” sends a request to the server to close the page. Then the server will close the page.