Bruce_Gdy Posted August 9, 2020 Share Posted August 9, 2020 Hi all I'm trying to use IE to get some value; however, the site doesn't show the hidden value. Quote <input id="CachePath" name="CachePath" type="hidden" value=""> I tried FF and chrome and the value is there Quote <input id="CachePath" name="CachePath" type="hidden" value="977"> How can I fix IE to show the value as FF and chrome? Is there some setting I have to change in IE? Here's an example of my code Local $oIE = _IECreate("WEBsite") Local $sHTML = _IEGetObjByName($oIE, "CachePath") if @error Then MsgBox(0,"Error found 1", @error) $value = _IEFormElementGetValue($sHTML) ConsoleWrite($value ) Thanks Link to comment Share on other sites More sharing options...
Danp2 Posted August 9, 2020 Share Posted August 9, 2020 If the value isn't there in IE, then that's likely an server-side issue so I doubt there's anything you can do to solve this on your own. What's the website? Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
Bruce_Gdy Posted August 9, 2020 Author Share Posted August 9, 2020 Just now, Danp2 said: If the value isn't there in IE, then that's likely an server-side issue so I doubt there's anything you can do to solve this on your own. What's the website? The value is shown in FF and Chrome, and according to my research; IE is removing the cached value once the page loaded. Is there some setting in IE to keep the hidden value just like FF and Chrome! It is my company website. I'm using my credential to access it. this is IE Quote <form id="formPostDoc" method="post"> <input name="EntityID" id="EntityID" type="hidden" value=""> <input name="SessionID" id="SessionID" type="hidden" value=""> <input name="ProjID" id="ProjID" type="hidden" value=""> <input name="DocID" id="DocID" type="hidden" value=""> <input name="PageNum" id="PageNum" type="hidden" value=""> <input name="CachePath" id="CachePath" type="hidden" value=""> <input name="ReadFilePath" id="ReadFilePath" type="hidden" value=""> <input name="FileName" id="FileName" type="hidden" value=""> <input name="AnnotationFileName" id="AnnotationFileName" type="hidden" value=""> <input name="CacheEncryptKeyValue" id="CacheEncryptKeyValue" type="hidden" value=""> <input name="DisplayOnly" id="DisplayOnly" type="hidden" value=""> <input name="COLDTextDisplay" id="COLDTextDisplay" type="hidden" value=""> <input name="PrintPageIndex" id="PrintPageIndex" type="hidden" value=""> <input name="PrintDisplayMode" id="PrintDisplayMode" type="hidden" value=""> <input name="PrintInformationalContent" id="PrintInformationalContent" type="hidden" value=""> <input name="CIFS" id="CIFS" type="hidden" value=""> </form> This is Chrome Quote <form id="formPostDoc" method="post" target="Windows" action="/PrintPages.aspx"> <input id="EntityID" name="EntityID" type="hidden" value="157"> <input id="SessionID" name="SessionID" type="hidden" value="8566365585"> <input id="ProjID" name="ProjID" type="hidden" value="2"> <input id="DocID" name="DocID" type="hidden" value="1"> <input id="PageNum" name="PageNum" type="hidden" value="0"> <input id="CachePath" name="CachePath" type="hidden" value="7855254"> <input id="ReadFilePath" name="ReadFilePath" type="hidden" value=""> <input id="FileName" name="FileName" type="hidden" value="printPreview2020080914123947.pdf"> <input id="AnnotationFileName" name="AnnotationFileName" type="hidden" value=""> <input id="CacheEncryptKeyValue" name="CacheEncryptKeyValue" type="hidden" value=""> <input id="DisplayOnly" name="DisplayOnly" type="hidden" value=""> <input id="COLDTextDisplay" name="COLDTextDisplay" type="hidden" value=""> <input id="PrintPageIndex" name="PrintPageIndex" type="hidden" value=""> <input id="PrintDisplayMode" name="PrintDisplayMode" type="hidden" value=""> <input id="PrintInformationalContent" name="PrintInformationalContent" type="hidden" value=""> <input id="CIFS" name="CIFS" type="hidden" value="true"> </form> Link to comment Share on other sites More sharing options...
Nine Posted August 9, 2020 Share Posted August 9, 2020 You cannot ask IE to provide something that it doesn't want to provide. If you have more success with Chrome, use WebDriver UDF. Unless you give us access to your site, I am afraid we cannot help much more. “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy Link to comment Share on other sites More sharing options...
Bruce_Gdy Posted August 9, 2020 Author Share Posted August 9, 2020 I figure it our. I have to click on the Print button to generate the cache reference. Now I have another problem! I can't download/save as PDF. not sure from where to start! Is Autoit support such a feature? Thanks for your help. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now