I am currently working on a scripting project and I am using selenium with chrome the problem that i found is when the browser opens, it's not showing anything and its not navigation to the correct url, I can scrape the data without using selenium with chrome but I want to see the UI.
Code:
from selenium import webdriverfrom selenium.webdriver.chrome.options import Optionsfrom selenium.webdriver.chrome.service import Servicefrom webdriver_manager.chrome import ChromeDriverManageroptions = Options()# options.add_argument('--headless')# options.add_argument('--no-sandbox')options.add_argument('--disable-dev-shm-usage')driver = webdriver.Chrome(service=Service(ChromeDriverManager().install()), options=options)driver.get("https://python.org")print(driver.title)driver.close()The interface that I am seeing: it's not navigation to the correct url
I'm following this documentation to set up Selenium with Chrome on Ubuntu/Debian.
I think there might be a version mismatch problem on my laptop, possibly related to SM (Shared Memory) or driver compatibility. I tried using time.sleep() and WebDriverWait, but neither worked.
I also switched to Firefox, but encountered a
Message: Process unexpectedly closed with status 127.
Any ideas on what might be causing this?
