I am working on a web scraper for a table. I have successfully set up extraction of relevant data from the table so far. I am trying to figure out the best way to manage pagination.
I have attempted to use Macroscheduler to identify the "next button" object, however this has proven unsuccessful. I have successfully used image recognition to find and left click the "next button", however I am hoping there is another way more 'elegant' and direct.
The "next button" has the following on mouse-over
javascript:__doPostBack('ctl00$contentPlaceholder2$Calendar1','V7091')
Is there any way that I can interact with this button apart from the image recognition / left click approach?
Please note that this web site is not public access so I cannot provide a link.
All help appreciated.
Interact with javascript buttons for pagination
Moderators: JRL, Dorian (MJT support)
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Re: Interact with javascript buttons for pagination
Try:
IENavigate>IEREF,javascript:__doPostBack('ctl00$contentPlaceholder2$Calendar1','V7091'),ie_res
IENavigate>IEREF,javascript:__doPostBack('ctl00$contentPlaceholder2$Calendar1','V7091'),ie_res
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?