Selenium not working

Question:
I am trying to make a thing which opens a site and gets things. i have etup options but still showing error :frowning:

import selenium
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
from selenium.webdriver.common.by import By
options = Options()
options.add_argument('--headless')
options.add_argument('--disable-gpu')
options.add_argument('--no-sandbox')
options.add_argument('--disable-dev-shm-usage')
driver = webdriver.Chrome(options=options)

On Replit Selenium requires a special setup. Try using this template, it has everything already:
https://replit.com/@--smallguy89--/SeleniumBase?v=1

1 Like

See if your case ins’t something similar to this:

1 Like

thanks for helping uwu

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.