I noticed that when I run the single file it turns out great and I got the output needed.
But when I try to run the whole project, the error seems to be in the get hash result.(in picture)
I have check the selector and notice a pattern where it is validate when I’m on the SHA1 Online webpage, once I close the browser, the selector turns to not validate.
(I am using google chrome as default browser)
Again I would like to highlight that when Im on the SHA1Online webpage the selector for each process in get hash result is green(validate), but when I close the browser before running the project it is labelled red(not valid).
It’s obvious because only when the elements are active which means when page is opened only then the selector will be valid showing green Color
Else will be in red meaning element is not active
So make sure your web page is opened when this activity is about to execute
And now there are two things to be considered
Either the selector must be made more stable Ina way by clicking on OPEN IN UI EXPLORER and include stable attributes to the selector
Or
Us GET ATTRIBUTE instead of GET TEXT and mention the attribute as innerText so that the value of that attribute can be obtained as a string output
Or use a GET FULL TEXT of screen scrapping method