webflow.getCurrentPage()Retrieves the current page open in the Designer.
Promise<Page>
A Promise that resolves to the current page.
The returned page might be a branch.
Use page.getBranchId() to check whether the current page is a branch, and page.getParentPageId() to get the source page ID.
Checks for authorization only