So I have had this code for sometime that worked without an issue for what I can recall. However, it has recently been raising an issue when I run it. Here is the code
chrome_options = Options()
chrome_options.add_argument('--no-sandbox')
chrome_options.add_argument('--disable-dev-shm-usage')
driver = webdriver.Chrome(options=chrome_options)
here is the error
selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH.