from selenium import webdriver
from selenium.webdriver.chrome.service import Service
from selenium.webdriver.common.action_chains import ActionChains
import time
import os
# Path to your downloaded chromedriver
chromedriver_path = os.path.expanduser("~/chromedriver") # Adjust if in a different location
# Setup Chrome options
options = webdriver.ChromeOptions()
# options.add_argument("--headless") # Uncomment this if you want it to run without opening a window
options.add_argument("--disable-blink-features=AutomationControlled")
# Start driver
driver = webdriver.Chrome(service=Service(chromedriver_path), options=options)
# Your guns.lol link
url = "https://[Log in to view URL]" # <--- replace with your actual link
while True:
driver.get(url)
time.sleep(3)
ActionChains(driver).move_by_offset(10, 10).click().perform()
print("Clicked and gave a view!")
time.sleep(5)
To embed this program on your website, copy the following code and paste it into your website's HTML: