I have a problem with the execute javascript node in my workflow to retrieve informations on the Dimensions website.
To get more results, it move the cursor down to load a new page of results.
To do this, I use the following command line in Selenium’s execute javascript node : window.scrollTo(0, document.body.scrollHeight);
This command loads several pages in a row which makes it difficult and slow to exploit html code by findelement node.
Is there any way to modify this command to load page by page? KNIME_project7.knwf (48.5 KB)
Thank you for your help.
Or if it doesn’t work, find the last element using the Find Elements node and run this code in the Execute JavaScript node while checking the last element in the arguments list. arguments[0].scrollIntoView();