Re: [python-win32] Clicking an li tag in Internet Explorer

2011-03-17 Thread Blake Willmarth
I was wrong about them being links, the method does work as intended and I was able to click the correct one using the className attribute: liTags = ie.Document.getElementsByTagName("li") for i in range(liTags.Length): if liTags[i].className == "NextEnabled": liTags[i].

[python-win32] Clicking an li tag in Internet Explorer

2011-03-17 Thread Blake Willmarth
Hello, I am having trouble navigating the MS documentation to find out how to click an element. I only have the class attribute name as the identifying feature: The one hope I had was ie.Document.getElementsByTagName("li") but this seems to be only getting tags. Any pointers would be really a