Easiest way to locate .document.all.item with known innertext or href?
- From: "CraiginNJ" <craig@xxxxxxxx>
- Date: 8 Apr 2005 07:43:40 -0700
Is there a super-fast & easy way to find a webbrowser document element
item with particular innerText or href? Right now I hunt through every
item one by one. For the href, I can instead hunt through the .links.
instead to save time.
I'm hoping there might be a single-line solution something like:
webbrowser.Document.all.item(innerText="DATA STARTS HERE")
and
webbrowser.Document.all.item(href="http://www.google.com")
Is there anything like that?
Craig in NJ
.
- Follow-Ups:
- Prev by Date: Re: a problem!! :(
- Next by Date: Re: render html to image without browser window
- Previous by thread: a problem!! :(
- Next by thread: Re: Easiest way to locate .document.all.item with known innertext or href?
- Index(es):