How to solve the HRESULT E_FAIL

Select Status: Error HRESULT E_FAIL has been returned from a call to a COM component.",

That’s related to the sticked instance of Microsoft application

If you are using Excel, then go to task manager and kill the EXCEL instances from services tab.

If you need you cab force kill the excel using bat file

Below link has the bat file content, you csn run it using Start Process activity.

Hope this helps!

1 Like

Ive literally just posted the same topic. Is this data scraping ?

1 Like

How do you know its Excel thats causing the issue ?

1 Like

i know because of that error message

is either excel or any Microsoft application that’s stuck

you can go to task manager and check in services, any Microsoft application service if there Excel, Word, etc

1 Like

Im getting the same error on both chrome and edge.
This error is happening during the data extraction not the writing to excel.

1 Like

i solved that error by taking screenshot after change selectors,its working fine