Extracting the DOM from a webpage

Applying eValid to AJAX applications that require advanced DOM-based methods.

Extracting the DOM from a webpage

Postby BeverlyW » Thu Oct 01, 2020 9:54 am

Morning.

How to I extract data from inside the DOM on a page?

Thanks in advance.
BeverlyW
 
Posts: 1
Joined: Thu Oct 01, 2020 9:52 am

Re: Extracting the DOM from a webpage

Postby eValid » Fri Oct 02, 2020 10:05 am

BeverlyW wrote:Morning.

How to I extract data from inside the DOM on a page?

Thanks in advance.


Thanks for posting your question BeverlyW.

First, you need to know the index of the DOM element from which you want to scrape data.

You probably use the IndexFindElement[Ex] command do to that:

http://e-valid.com/Products/Documentati ... ement.html

Now you know that number, stored internally in eValid as "sourceIndex", and then you can use these commands:

http://e-valid.com/Products/Documentati ... ation.html

The "Get" command grabs the value of the specified property at in that DOM element ad stores it internally as "elementValue".

The "Put" command does the reverse, reading the current value of "elementValue" and putting it into the the DOM element.


-- eValid Support
eValid
 
Posts: 2065
Joined: Tue Jan 01, 2008 12:48 pm
Location: USA


Return to AJAX Applications & DOM Processing

Design Downloaded from free phpBB templates | free website templates | Free Web Buttons