Page 1 of 1

Does eValid have a way to save all visible text of a page

PostPosted: Mon Feb 09, 2015 5:42 pm
by Patricia
Evening:

I need a simple way to save the visible text off a webpage and the methods that work with Selenium are all too difficult to my end-users.

Have you got anything simpler?

Thanks a bunch!

Patrica

Re: Does eValid have a way to save all visible text of a pag

PostPosted: Tue Feb 10, 2015 11:18 am
by eValid
Patricia wrote:Evening:

I need a simple way to save the visible text off a webpage and the methods that work with Selenium are all too difficult to my end-users.

Have you got anything simpler?

Thanks a bunch!

Patrica


Thanks for asking Patrica.

Fortunately eValid has a command build in that does just what you want.

The command is as follows:

SaveVisibleText wid filename frame-path

The wid is the identifier of the window, e.g. 0 for the parent browser window; the filename is the local filename to which you want all of the visible text written, and frame-path is the eValid frame path [if any].

The command will scan the entire current page from the DOM and write out the aggregate visible text to the file name you specify.

If there is dynamic content on the page you may get part of it and you may get all of it. What you get when a section of text is being updated is a function of where the computer is in its scan.

There are, FYI, companion commands that will save a screenshot of the current page, or save the complete HTML of the page.

-- eValid Support