Jump to content

Facebook See More Results Can't click

Recommended Posts


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")

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?

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
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...