It works in vscode bro. Also, check the gitbub repositories for this. I am sure you will find something there. And check some youtube videos. There are so many youtube videos. Or maybe ask chatgpt.selenium doesn't work good in vscode
I use pycharm-what best ide for using python and selenium ?
Not sure-why selenium doesn't work good in vscode ?
https://www.w3schools.com/python/python_for_loops.asp-how to loop a action ?