DaLiMan Posted September 17, 2018 Posted September 17, 2018 (edited) Hi There, I'm struggling with an embedded IE in a GUI. Trying to automate some buttons to go to 2 different sites with a button. In my GUI I have a IE embedded with _IECreate2 from here. But when I try to navigate it does not allow me to go anywhere. --> IE.au3 T3.0-2 Warning from function _IELoadWait, $_IESTATUS_AccessIsDenied (Cannot verify readyState. Likely casue: cross-domain scripting security restriction. (-2147024891)) Edited September 19, 2018 by DaLiMan
Danp2 Posted September 17, 2018 Posted September 17, 2018 That's a fairly old implementation of embedded IE. You may want to look for something newer. Have you tried using _IECreateEmbedded? Latest Webdriver UDF Release Webdriver Wiki FAQs
DaLiMan Posted September 17, 2018 Author Posted September 17, 2018 Hi Danp2, Yes, that was my first try. However, I was not able to solve how to resize the _IE frame along with the parent window. Also sending keys to this embedded IE was not working from my script (behind a button) and it looks like it's somehow not a complete IE or something. usernames and passwords are not remembered etc.
Juvigy Posted September 18, 2018 Posted September 18, 2018 Have you try to navigate to a common site like google.com ? From the cross - domain error that you get i guess you are trying to navigate and landing on security restrictions.
DaLiMan Posted September 19, 2018 Author Posted September 19, 2018 On 18-9-2018 at 11:06 AM, Juvigy said: Have you try to navigate to a common site like google.com ? From the cross - domain error that you get i guess you are trying to navigate and landing on security restrictions. Yes, I tried all sorts of websites. Finally yesterday I ....(STUPID ME!)... found out I did not declare the variable of $oIE right. It was set locally in another function. So this was a real waste off time. But thanks for the reply
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