Error with Selenium /Playwright Web Automation

Hi , i am not able to run Selenium Web automation over replit, as this code is working fine on VS COde

Current behavior:

Desired behavior

Repl link:

code snippet
from selenium import webdriver
from selenium.webdriver import chromium
from import By
from selenium.webdriver.common.keys import Keys

browser = webdriver.Chrome()

assert 'Yahoo' in browser.title

elem = browser.find_element(By.NAME, 'p')  # Find the search box
elem.send_keys('seleniumhq' + Keys.RETURN)


Hello @harshadkakade94!
This Stack Overflow post may be able to help you.

1 Like