I am trying to create a use case where I need to get value of stock from web. The list of stocks is in a file. So I am using loop to iterate through all stocks. Inside my loop - I have following actions -
- Open website ( https://www.google.com/finance)
- Web element ( get by xpath")
This works for the first time but on second iteration of loop it gives an error. I had tried closing the browser before iterating for the second time and also tried to keep browser opens. But getting the error everytime.
Any help would be appreciated!