Jump to content
Sign in to follow this  

Simulate click on Java button

Recommended Posts


Hello there,

I am trying to click this button:

<a id="skip_button" onclick="skipButton()" style="cursor:pointer; display:none;" target="_top"><img src="/images/skip_ad_button.png" alt="Skip Ad" width="155" height="39" id="skip_ad_button" onmouseover="document.getElementById('skip_ad_button').src = '/images/skip_ad_button2.png';" onmouseout="document.getElementById('skip_ad_button').src = '/images/skip_ad_button.png';" /></a>

I would prefer to avoid using _IE and instead use the:

$HTTP = ObjCreate("winhttp.winhttprequest.5.1")
$HTTP.Open("POST", "URL", False)

But I have no idea how and if I can simulate a mouse click on a java button with the above :S

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.