Sign in to follow this  
Followers 0
mcfmullen

Facebook See More Results Can't click

1 post in this topic

Hello,

I'm trying to get a loop going on the facebook page url: https://www.facebook.com/?ref=hp#!/search/results.php?q=br%20&type=pages&init=quick&tas=0.8033966767710268

I want to click on the See More Results button at the bottom of the page. I want to loop through the page, clicking on the See More Results button until the button no longer appears.

Thing is I've tried virtually every function there is and I can't get Auto It to click the button. This is where I stand right now:

Local $sMyString = "See More Results"
Local $oLinks = _IELinkGetCollection($oIE)
For $oLink In $oLinks
    Local $sLinkText = _IEPropertyGet($oLink, "innerText")
    If StringInStr($sLinkText, $sMyString) Then
        _IEAction($oLink, "click")
        ExitLoop
    EndIf
Next
Exit

I've tried _IELinkClickByText, _IEClickObjById and _IEClickObjByName all without success... I've even tried without a loop just to get it to click on the link once and still no success.

Can anyone help me with this?

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