OK, thanks a lot. Well, I give up trying to click the buttons. I have a workaround though! I will click the buttons myself, while the script will monitor whether the relevant page has loaded - as soon as it loads, it will fill in the forms, then I will click another button and the script notice...