Force Select (for AJAX content)

Here we will be posting premade Helium Scraper projects and helpful stuff.
Post Reply
webmaster
Site Admin
Posts: 491
Joined: Mon Dec 06, 2010 8:39 am
Contact:

Force Select (for AJAX content)

Post by webmaster » Tue Jun 07, 2011 7:47 pm

This project contains an actions tree called "Force Select". When invoked from an "Execute Actions Tree" action, it will ask for a kind to select and a timeout. Then, when executed, it will repeatedly try to select the given kind until at least one element is found.

This is useful when we are trying to extract or work in any way with elements that load after the page has completed loading such as AJAX content. Otherwise, we would need to use a "Wait" action and hope that the content has loaded after the "Wait" action completes, and even if it does, we could be waiting for longer than necessary.

Let me know if you need any help with it.
Attachments
Force Select.hsp
(694.46 KiB) Downloaded 516 times
Juan Soldi
The Helium Scraper Team

Post Reply