from selenium import webdriver
import time
# Specify the URL
url = "https://wwp.psmad.com/redirect-zone/9fcb1dda"
# Create a single Google Chrome session (browser window)
driver = webdriver.Chrome()
try:
while True:
# Open the same URL in the browser
driver.get(url)
# Wait for 3 seconds before refreshing the page
time.sleep(3)
finally:
# Close the browser when done
driver.quit()
Tags:
Python