Jump to content

Recommended Posts

Posted (edited)

Hi

 

If you open IE, and go to some page, then set the focus on some WebElement,

then $oIE.document.activeElement will return a reference to that webelement.

 

How do I check what Type is it?

For example IMG, INPUT, etc..

 

Thank you

Edited by Zohar
Posted (edited)

Hi

When I try to get $oIE.document.activeElement.localName, it causes an error...

Edited by Zohar
Posted (edited)

$oIE.document.activeElement.nodename 
$oIE.document.activeElement.id

$oIE.document.activeElement.uniqueid

Edited by Chimp

 

image.jpeg.9f1a974c98e9f77d824b358729b089b0.jpeg Chimp

small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt....

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...