Blank517 Posted November 19, 2016 Share Posted November 19, 2016 When my script run this code (without errors/warnings) , in theory should click the object, but wait a few seconds without click them (more then 1,5) and then closes AutoIt: $ObjData = _IEGetObjById($ObjForm[0], "sendlogs_button") _IEAction($ObjData, "click") Sleep(1500) _IEQuit($ObjForm[0]) HTML: <div class="send-container"> [html] <span class="send-logs show" id="sendlogs_button" style="cursor: pointer;"> Send logs to an Admin </span> </div> Sorry for my bad english ^^ Link to comment Share on other sites More sharing options...
Danp2 Posted November 19, 2016 Share Posted November 19, 2016 Not much to go on from your post. You could try adding some logging to make sure that you are getting the correct object: ConsoleWrite("nodeName = " & $ObjData.nodeName & @CRLF) ConsoleWrite("Classname = " & $ObjData.classname & @CRLF) ConsoleWrite("Innertext = " & $ObjData.innertext & @CRLF) Latest Webdriver UDF Release Webdriver Wiki FAQs 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