Function Do-Get-Element-Index

Part of:

package selenium
( do-get-element-index < locator > &optional (session *selenium-session*) )
Get the relative index of an element to its parent (starting from 0). The comment node and empty text node will be ignored.