Not sure if anyone else was ever looking for a way to get the DOM object of IE by the XPath, but i sure was. I Created this UDF... _IEGetDOMObjByXPathWithAttributes Still needs some work, here are the limitations: Solved: 1) no distinction between // and /, all are handled as // ...Won't address, use syntax like #3: 2) only able to search for Elements, can't end the xpath in an attribute, such as ...//@id='test' Solved: 3) When searching for only Elements with specific attributes, I'm only han
Here we go!...Got the [#] or [last()] conditions working...currently, it's simplistic, but the xpath your provided will function. I also put in logic to allow for [last()-#], so instead of the last node, it will grab the 3rd to last... Here are the new functions, and a sample of navigating through the new autoit forum, to the general help and support page, and then navigating the the 6th page...which is the last()-3: $xpathGeneralHelpPagination = "//ul[@class='ipsPagination']/li[last()-3]/a" usi