Still plundering along scraping web sites, printing from web pages, etc. but ran into a snag I\'m hoping someone can help me with. The pic below is shows the tab that I\'d like
If the click function can't work, you could try to change the class of the tabs and the class of the tab contents to active the Location Report tab.
You can change the Location Report tab class to active and hide the Legend tab content. Please try to replace the not working "click" part to this:
doc.getElementById("ext-comp-1065__ext-comp-1004").setAttribute "class", ""
doc.getElementById("ext-comp-1065__locationReport").setAttribute "class", "x-tab-strip-active"
doc.getElementById("ext-comp-1004").setAttribute "class", "x-panel x-panel-noborder x-hide-display"
doc.getElementById("locationReport").setAttribute "class", "x-panel x-panel-noborder"
You could check the result in IE.