Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to search javascript generated text

Status
Not open for further replies.

ShaneCU

Programmer
Oct 29, 2003
11
0
0
US
I am writing a Bubbles ( extension for YouMail.com. I am trying to write a script that parses the text on the web page to read how many new messages I have. It appears that the text (e.g. "1 new") is generated by javascript and even though it is visible in the screen, I can't find it using findtext().

Does anyone know of a way that I can search the text from the webpage.
 
Problem solved. Apparently, I wasn't giving the webpage enough time to finish outputting everything. I used setTimeout to wait a few seconds and then I was able to search for the text.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top