Donny Posted May 31, 2019 Posted May 31, 2019 Hi, I am trying to run an existing AutoIt script that I wrote for Windows 7 on a Windows 10 notebook. The problem I am having is that the scroll function no longer works. I open the website using the standard syntax: $oIE = _IECreate('http://mywebsite.co.za') and then scroll using: $oIE.document.parentwindow.scroll(0,500) What's strange is that this works on Windows 7 IE11 (same version IE as Windows 10). Even stranger is that on Windows 10, if I tried another website like google.com, then the scroll works as expected. This is the error message I get, which suggests that the .document property somehow does not exist for some websites. Any ideas?
Danp2 Posted May 31, 2019 Posted May 31, 2019 Have you tried checking to see if the object reference in $oIE is still valid? See IsObj function in the help file. Latest Webdriver UDF Release Webdriver Wiki FAQs
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