I think that it is restriction policies of IE.
Because if we use iMacros, then the code will work with other browsers except IE.
But with selenium click works because:
As the InternetExplorerDriver is Windows-only, it attempts to use so-called "native", or OS-level events to perform mouse and keyboard operations in the browser.
https://github.com/SeleniumHQ/selenium/ ... orerDriver
euras, If You want to understand what You have to send to click this button, You have to:
1) Open chrome developer tool.
2) Select element that You want monitor.
3) Open console window and execute to monitor all events with this element:
https://developers.google.com/web/tools ... ole/events
4) Repeat some of this events in IE.
For example:
If we run this code, then if we press "sign in" it shows error:
Code: Select all
oIE := ComObjCreate("InternetExplorer.Application")
oIE.Visible := True
oIE.Navigate("https://www.artstation.com/registration/signup")
While oIE.readyState != 4 || oIE.document.readyState != "complete" || oIE.busy
Sleep, 10
target := oIE.document.querySelector("input[name=""first_name""]")
target.value := "tester"
If we examine events of this link in Chrome, then we will get this code, that will work:
Code: Select all
oIE := ComObjCreate("InternetExplorer.Application")
oIE.Visible := True
oIE.Navigate("https://www.artstation.com/registration/signup")
While oIE.readyState != 4 || oIE.document.readyState != "complete" || oIE.busy
Sleep, 10
target := oIE.document.querySelector("input[name=""first_name""]")
target.value := "tester"
event := oIE.document.createEvent("Event")
event.initEvent("input", true, true)
target.dispatchEvent(event)