from bs4 import BeautifulSoup
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
import time
import random
from selenium.webdriver.common.by import By
chrome_options = Options()
chrome_options.add_argument("--disable-infobars")
driver = webdriver.Chrome(options = chrome_options)
driver.get("https://en.wikipedia.org")
driver.find_element(By.ID, "n-randompage").click()