Sign in to follow this  
Followers 0
xdp22

Not simple click on element

5 posts in this topic

Hello, i got problem, i need click on element on site using FF.au3, it's look simple but i got problem, i tried already many things, what works with other items, but for that it don't work, and doesn't click.

It's html code where i need to click :

<a class="sign_out" href="http://www.kongregate.com/session" id="welcome_box_sign_out" onclick="$('welcome_box_sign_out_indicator').show();$('welcome_box_sign_out').hide();; new Ajax.Request(this.href, {asynchronous:true, evalScripts:true, method:'delete', onComplete:function(request){var newLoc = request.responseJSON.path; if (newLoc != document.location) { document.location = newLoc; } else { document.location.reload(); }}, parameters:'authenticity_token='+encodeURIComponent(active_user.formAuthenticityToken())}); return false;">Sign out</a>

I already tried :

_FFClick( "welcome_box_sign_out", "id")
$result = _FFXPath('//*[@id="welcome_box_sign_out"]',"",9)
_FFClick($result)
_FFXPath('//*[@id="welcome_box_sign_out"]',"",9)
_FFClick("FFau3.xpath")
_FFClick('Sign out','tag', 0)
_FFClick(_FFXPath('//*[@id="welcome_box_sign_out"]',"",9))

And some more but nothing works :/

I tried FF Page Analyzer too, but it's can't help me with that.

Please help :)

Share this post


Link to post
Share on other sites



1. Where do you have FF.au3 from? and what's its code?

2. Do you want to click a link? yes, look at _IELinkClickByText in the help file...


Many times you need to think like hobby-bob:')

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Man you are blind? it's not code it's example function what i using. And i don't need link click >.< link click doesn't work. Btw. it need be in firefox.

Edited by xdp22

Share this post


Link to post
Share on other sites

@xdp22:

How looks your complete script?

Can you show me the output from the console please, too?

Stilgar

Share this post


Link to post
Share on other sites

Man you are blind? it's not code it's example function what i using. And i don't need link click >.< link click doesn't work. Btw. it need be in firefox.

dude, "It's html code where i need to click :" means you need to click. But if you use firefox, I can't help. If you don't post what the function _FFclick() does, I can't see what it does.

That's not blind, that's not getting your code(or example code).


Many times you need to think like hobby-bob:')

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  
Followers 0