Java manipulator/macro

I would like to record a macro or something behind a login screen to push a button on that screen at a given date. No authitification more than login/passwd.
Not possible to change the code itself.

Is it possible to manipulate that button in some way?

The page itself is written in Java.
How should I approach it?