How to trigger GoTo method to redirect to a specific page once the document is loaded

PDF.js Express Version
7.3.1

Detailed description of issue
Looking to redirect to a page when the document is loaded, got the page number from url params but how to trigger after load. Help me with the method to trigger with the action object

Expected behaviour
Redirect to a specific page

Does your issue happen with every document, or just one?
every document

Link to document

Code snippet
Trying like this
let goto = new Actions.GoTo({ dest: new Actions.GoTo.Dest({ page: jumpToAnnotation, }), });
console.log(goto);

Hello, I’m Ron, an automated tech support bot :robot:

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:

Guides:APIs:Forums:

Hey there!

You can use the docViewer.setCurrentPage API to jump to a certain page.

Logan