I used a Djuggler script to navigate to a web page which has a Javascript function and a form in the source. Here are the lines in the source
*****************************************************************************************
<SCRIPT language=JavaScript>function submitMSDSSearch(country,language){document.MSDSSearch.country.value = country;document.MSDSSearch.language.value = language;document.MSDSSearch.submit();}</SCRIPT>
<form> name=MSDSSearch action=/MSDS/MSDS/PleaseWaitMSDSPage.do method=post target=new_window cM1="2"><INPUT type=hidden name=country cM1="2" cM2="0" cM3><INPUT type=hidden name=language cM1="2" cM2="1" cM3><INPUT type=hidden value=W200220 name=productNumber cM1="2" cM2="2" cM3><INPUT id=brand type=hidden value=ALDRICH name=brand cM1="2" cM2="3" cM3><INPUT id=PageToGoToURL type=hidden value=/catalog/ProductDetail.do?symbol=W200220&Brand=ALDRICH name=PageToGoToURL cM1="2" cM2="4" cM3><INPUT id=requestMsds type=hidden value=true name=requestMsds cM1="2" cM2="5" cM3><INPUT id=btnGo1.x type=hidden value=1 name=btnGo1.x cM1="2" cM2="6" cM3></form><A href="javascript:submitMSDSSearch('US','en');" cmImpressionSent="1">MSDS</A><BR>
*********************************************************************************************
If I put this line in the script--
Execute JavaScipt code or function submitMSDSSearch('US','en') in source [WebPage1]--
a new Internet Explorer window opens (not a Djuggler Web viewer) with the Page that I want to download or save which is presented as a PDF file. But the URL looks like this:
http://www.-----------.com/MSDS/MSD...DSPage.do, which is not a page which can be navigated to simply by opening by using the URL. The results depend on the product number which is a hidden value in the form.
Manually I would click on 'Save a copy' in order to save it. Since I don't have a URL I can't use the Djuggler 'Download' instruction to save it.
What can I do?