Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

9
  • Do you know a specific substring or text that we can wait for to be present inside the innerHTML? Commented Aug 27, 2017 at 15:53
  • It's pulling data from a database. As the loop runs, the innerHTML of element will change millions of times Commented Aug 27, 2017 at 15:55
  • @alecxe Maybe I could use the innerHTML from the table header? Commented Aug 27, 2017 at 16:13
  • Unfortunately, there is not enough details provided to answer the question..could you post a sample of what the element is pointing to and what things change in the inner HTML of the element?..thanks! Commented Aug 27, 2017 at 16:17
  • Yes, of course. element is a cell (tr tag) inside of a table with consistent table headers (th tags). The inner HTML for each element changes 25x per page, whereas the table headers are the same on every page Commented Aug 27, 2017 at 16:33