Page 1 of 1

Extracting the DOM from a webpage

PostPosted: Thu Oct 01, 2020 9:54 am
by BeverlyW
Morning.

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

Thanks in advance.

Re: Extracting the DOM from a webpage

PostPosted: Fri Oct 02, 2020 10:05 am
by eValid
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