WebPagetest Forums
ContentWindow line of script working in IE11 console but not in WPT test - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: General Discussion (/forumdisplay.php?fid=25)
+--- Thread: ContentWindow line of script working in IE11 console but not in WPT test (/showthread.php?tid=15320)



ContentWindow line of script working in IE11 console but not in WPT test - sakthivel.vaithilingam - 04-05-2018 10:18 PM

Hi,

I need to run WPT test in IE, Below line of script is working fine in IE console. but not running when it is through WPT test. Please suggest

Console - Working : document.getElementById('frameset').contentWindow.document.getElementById('Image​htmlbuttonuc2_btnButton').click();
WPT - Not Working :
execAndWait document.getElementById('frameset').contentWindow.document.getElementById('Image​htmlbuttonuc2_btnButton').click();

(WPT Private Instance)