You may find that other browsers can't or won't handle that automation too. Is your FireFox up to date - it might not go to the next page in the future, all depends on the underlying code.
In App Inventor, try the extension Custom Web View - it is an outstanding extension whether or not it can solve your issue.