I'm getting an error
E
======================================================================
ERROR: test_01Login (__main__.LoginTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:/Users/amal/AppData/Local/Continuum/anaconda3/Lib/site-packages/Sucess/Test/Login_sj.py", line 29, in test_01Login
driver.get("https://google.com")
File "C:\Users\amal\AppData\Local\Continuum\anaconda3\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 333, in get
self.execute(Command.GET, {'url': url})
File "C:\Users\amal\AppData\Local\Continuum\anaconda3\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "C:\Users\amal\AppData\Local\Continuum\anaconda3\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: disconnected: received Inspector.detached event
(Session info: chrome=76.0.3809.100)
----------------------------------------------------------------------
Ran 1 test in 8.615s
FAILED (errors=1)
while trying to automate a webpage using python 3.7 and selenium 3.141.0
This is in windows 10. My java version is jdk-12.0.2 and chrome driver is ChromeDriver 76.0.3809.68
driver = webdriver.Chrome()
driver.get("https://google.com")
I'm new to Automation and learning by trial and error and excuse for any mistake as I just created this account and trying to post in any forum for the first time. I tried to reinstall Java, Chrome and tried multiple versions of chromedriver. Any help would be much appreciated.