This code was working fine on my computer. I attempted to run on pythonanywhere and has challenges on the error because of page crash with error message below. Selenium was initially work until this step which any action would lead to page crash. What are potential cause of page crash? Where are log that I can investigate this sort of crash? Is it because of limit system resources?
print(driver.page_source()) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/kitsupni/vmyshop/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 679, in page_source return self.execute(Command.GET_PAGE_SOURCE)['value'] File "/home/kitsupni/vmyshop/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute self.error_handler.check_response(response) File "/home/kitsupni/vmyshop/lib/python3.9/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.WebDriverException: Message: unknown error: session deleted because of page crash from tab crashed (Session info: headless chrome=90.0.4430.212)
Thanks, Kit