Jump to content

_IEAction don't work with <span>


Recommended Posts

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


$ObjData = _IEGetObjById($ObjForm[0], "sendlogs_button")
_IEAction($ObjData, "click")


<div class="send-container">
  <span class="send-logs show" id="sendlogs_button" style="cursor: pointer;">
    Send logs to an Admin

Sorry for my bad english ^^

Link to comment
Share on other sites

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)


Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...