Hi,
I've been using Fake a little, and have come up with a pretty good script for downloading production data for my solar panels from a monitoring company.
However, I tried similar for my electricity provider, Southern California Edison (
http://sce.com), and have hit a brick wall. Using Fake, I've been able to script the entire login process, and navigating to the correct page. It clicks on the Download link, which opens a small menu with two links (Download as HTML Text or Download as Spreadsheet) and neither of them work. In both cases, the "Click HTML Link: with text: Download as Spreadsheet" command, which runs a javascript, fails. I can click them manually, so the webpage doesn't seem to be at fault. It is however, very slow and clunky.
The link I want to fire up is as follows:
<div class="elementCSS">
<a href="javascript:OpenDownloadXLS();" onclick="OpenDownloadXLS();" style="color:black; " class="toolTipCalendar" onblur="ShowSelectedRow(this, 'IN');" onmouseover="ShowSelectedRow(this, 'IN');" onmouseout="ShowSelectedRow(this, 'OUT');">Download as Spreadsheet</a>
</div>
No error is reported under Fake, and nothing comes up on the Console. The CSS menu vanishes, much as it would if either clicked, or the background was clicked. Note that this div only appears when the Download button is called, which opens a small menu. I have tried variations of Click HTML Element and Click HTML Link all to no avail.
Any suggestions? I can't provide login details for security reasons.
-Karl