@Joan-Canario, you should be able to use selenium to do that. What's the website? I can probably do an example.

I might use this: https://automatetheboringstuff.com/chapter11/