Hello, I get trouble with my script. I want to scroll until the end of a chrome page to scrape data. I use DO While until the end of the page. I have made severals test and I saw that the script continue to act even if the page is at the end. There is no scroll anymore but the program still working.
Then I got an error Inject js script ‘iexplore.exe How’: Une erreur HRESULT E_FAIL a été retournée à partir d’un appel à un composant COM.
There is something wrong with my script, could someone help me please ?
I changed your script by editing the comparison from >= to < and inserting an alert to display the three values. After the delay, if the modal window is still displayed, I’ve got the same error message.
I’d say that something is preventing access to your target element.
@aurelie.hoareau
welcome to the forum
the bes results with inject js was when we still follow the conventions as described by the docu:
especialy on
element - represents the HTML element corresponding to the calling UI node.
input - the input string provided by the caller.
also if no ui element is to use we passed it as null for tests, then for other tests we removed in scond round
Additional we checked very carefully the selector of the invike js activity that it is pointing to page of interest just to prevent that the javascript is send to Nirvana