Solution 1: Clear App Cache and Data Go to Settings on your device and navigate to the Apps or Application Manager section. Locate UC Browser among all apps and click on it. Under App Details, select Storage and then Clear Cache. If the problem persists, go back to the app and select Clear all data/Clear storage. If Microsoft Edge is still closing automatically on Windows 11, repair the browser from the Settings menu. Step 1: Press Windows + I keys to open Settings. Step 2: Select Apps from the sidebar and Follow the steps below. Step 1: Launch Google Chrome on the desktop. Step 2: Click the kebab menu (three-dot) in the top-right corner. Step 3: Expand 'More tools' and open 'Extensions.'. Step 4: Check a list of installed extensions and select 'Remove.'. Safari. Click on Safari and select Preferences. Choose the Security option. Select Allow Plug-ins then click on Manage Website Settings. Click on the Java item, select an option (Ask, Allow or Allow Always) from the pulldown list When visiting other websites. Click Done then close the Safari Preferences window. 8. Add this code and try: options = Options () options.add_experimental_option ("detach", True) driver = webdriver.Chrome (service=driver_service,options=options) Don't forget to add double slash ' \\ ' in the chromedriver.exe path. Share. For invoking chrome browser, we have to select the Chrome class. Then create the driver object of that class. This is the most important and mandatory step for browser invocation. Every chrome browser gives an executable file. Through Selenium we need to invoke this executable file which is responsible for invoking the actual chrome browser. .

uc browser closing automatically