Sign in to follow this  
Followers 0
crazycrash

Click content expansion link not containing a href

4 posts in this topic

#1 ·  Posted (edited)

Hi all

I really struggle to figure out how to click this "More" link. It just expands the text. I can't find the link in the _IELinkGetCollection . Also _IELinkClickByText doesn't work, because it doesn't detect it as a link.

Maybe something along this?

Local $oDiv = _IEGetObjById($oIE, "div_Description")
_IEAction($oDiv, "click")

Thanks!

"More" link to click:

<div id="div_Description">
    Some description, more...
    <br />
<a data-ct="true" data-ct-area="Immobilien" data-ct-id="MoreDescriptions" data-ct-subtype="MoreInformation" data-ct-target="Internal" data-ct-type="Contentlink" data-finder-hf-descriptiondetail-adid="15966452" data-finder-hf-descriptiondetail-detailserviceurl="/immobilien/dataprovider/" data-finder-hf-descriptiondetail-infotype="Description" rel="nofollow">More</a></div>

 

Edited by crazycrash

Share this post


Link to post
Share on other sites



Not sure if this will work, but you could try --

Local $oDiv = _IEGetObjById($oIE, "div_Description")
Local $oLink = $oDiv.childNodes[1]
_IEAction($oLink, "click")

 

Share this post


Link to post
Share on other sites

If that doesn't work, you should be able to use $oDiv as the first parameter to _IETagNameGetCollection and get the link that way.

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