For a simpler example, how can I go directly to an element by knowing it is the nth element with a specific classname? Without looping through all of the elements that have the same classname. Like if the classname is "someClass" then something like this: ie.document.someClass(4) or ie.document.getelementsbyclassname("someClass")(4) to access only the 5th one.

What is the right syntax?