Web Portal's "Next" page botton

Hi,
in that case you can use this:

parent.document.querySelector('.right-button-subcontainer .button.primary').dispatchEvent(new Event('click'));

However, BIG DISCLAIMER! This might change at any time. It queries the button using quite generic CSS classes and in the future there might theoretically be a similar button with the same classes that could be triggered instead. It does work now, but don’t count on it forever.
Kind regards,
Alexander

1 Like