Hi, I am able to create a fresh chrome session using selenium but I need to open other pages in the same session which I am not able to do using selenium on Pythonanywhere. However, when I run the same script on my personal terminal it is doing the intended job of re-using the current browser session. The relevant code snippet is as follows: options.add_argument("--headless") options.add_argument("--disable-gpu") capabilities = options.to_capabilities() browser = webdriver.Remote(command_executor=executor_url, desired_capabilities=capabilities) browser.session_id = session_id
I am getting the following error message: selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: crashed (unknown error: DevToolsActivePort file doesn't exist)
Please note that I am not facing any issue in creating a fresh session. Please guide.