Skip Menu |

This queue is for tickets about the WWW-Mechanize-FireFox CPAN distribution.

Report information
The Basics
Id: 109084
Status: rejected
Priority: 0/
Queue: WWW-Mechanize-FireFox

People
Owner: Nobody in particular
Requestors: ei69jeff [...] comcast.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: is Accessible Rich Internet Applications supported in Mechanize-FireFox?
Date: Tue, 17 Nov 2015 11:12:25 -0500
To: bug-WWW-Mechanize-FireFox [...] rt.cpan.org
From: Jeff EI69 Stalzer <ei69jeff [...] comcast.net>
I love Mechanize-FireFox. I have used it successfully for many months scrapping the First National Bank On-Line banking pages. Recently the bank changed a large portion of their site over to Accessible Rich Internet Applications (ARIA). Part of my scraping tool stopped working. I find it necessary to click on an item to "expand" it before I can scrape it. The HTML items (each represent a check) look like this: <button class="expand-btn collapsibleControl" aria-controls="paymentDetail_20150803092128879762" data-billid="20150803092128879762" data-activitypaymenttypecode="0"> I have tried everything to "click" the item. There is no ID nor is there NAME. Clicking by number fails. Is there some method to initiate this expansion using WWW-Mechanize-FireFox? Or has the ARIA extensions gone beyond the capabilities of the current version of WWW-Mechanize-FireFox? Thanks, Jeff
Subject: Re: [rt.cpan.org #109084] is Accessible Rich Internet Applications supported in Mechanize-FireFox?
Date: Tue, 17 Nov 2015 18:41:24 +0100
To: bug-WWW-Mechanize-FireFox [...] rt.cpan.org
From: Max Maischein <corion [...] cpan.org>
Hello Jeff, Show quoted text
> I love Mechanize-FireFox. I have used it successfully for many months > scrapping the First National Bank On-Line banking pages. Recently the > bank changed a large portion of their site over to Accessible Rich > Internet Applications (ARIA). Part of my scraping tool stopped working. > I find it necessary to click on an item to "expand" it before I can > scrape it. The HTML items (each represent a check) look like this: > > <button class="expand-btn collapsibleControl" > aria-controls="paymentDetail_20150803092128879762" > data-billid="20150803092128879762" data-activitypaymenttypecode="0"> > > I have tried everything to "click" the item. There is no ID nor is > there NAME. Clicking by number fails.
What of "everything" did you try? Show quoted text
> Is there some method to initiate this expansion using > WWW-Mechanize-FireFox? Or has the ARIA extensions gone beyond the > capabilities of the current version of WWW-Mechanize-FireFox?
I would try to use ->selector() to get at the element and then pass the DOM element into ->click(). Have you already tried that? If so, please show the code and how it failed for you. -max
Subject: Re: [rt.cpan.org #109084] is Accessible Rich Internet Applications supported in Mechanize-FireFox?
Date: Wed, 18 Nov 2015 16:42:15 -0500
To: bug-WWW-Mechanize-FireFox [...] rt.cpan.org
From: Jeff EI69 Stalzer <ei69jeff [...] comcast.net>
Using ->selector() to get at the element worked. Thanks for the help, Jeff Max Maischein via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=109084 > > > Hello Jeff, >
> > I love Mechanize-FireFox. I have used it successfully for many months
>> scrapping the First National Bank On-Line banking pages. Recently the >> bank changed a large portion of their site over to Accessible Rich >> Internet Applications (ARIA). Part of my scraping tool stopped working. >> I find it necessary to click on an item to "expand" it before I can >> scrape it. The HTML items (each represent a check) look like this: >> >> <button class="expand-btn collapsibleControl" >> aria-controls="paymentDetail_20150803092128879762" >> data-billid="20150803092128879762" data-activitypaymenttypecode="0"> >> >> I have tried everything to "click" the item. There is no ID nor is >> there NAME. Clicking by number fails.
> What of "everything" did you try? >
>> Is there some method to initiate this expansion using >> WWW-Mechanize-FireFox? Or has the ARIA extensions gone beyond the >> capabilities of the current version of WWW-Mechanize-FireFox?
> I would try to use ->selector() to get at the element and then pass the > DOM element into ->click(). Have you already tried that? If so, please > show the code and how it failed for you. > > -max > > > >