I have a browser load up a facebook group of mine and I'm able to paste in a post.
The actual [Post] button is down farther (because of the preview to a URL I included has loaded).
I need to press the [Post] button.
I have set the script to look for the post button and (while it's not found) I scroll down.
It works when I test it, ONLY IF I have the mouse pointer on the browser so it can scroll.
What I can't figure out is how to give the Focus/Activate the browser, so that if the mouse pointer was not already there, it will Focus/Active the browser so that it can scroll and find the [Post] button.
I've tried to focus on a field (that hasn't worked, and FB is notorious for changing values/IDs of things).
I've tried finding an image on the page and moving the mouse pointer to it.
Nothing works unless I manually move the mouse over to the browser where it begins to scroll to find [Post]. It finds it, and then clicks it.
???
Thanks
I have searched the forums and can't find a solution.