J
J
Jeka S2020-08-09 23:50:19
Automation
Jeka S, 2020-08-09 23:50:19

Why might Chrome not open after running the test?

After compiling the code, there are no errors, but Chrome does not open.
Tell me what could be the problem?

from selenium import webdriver

driver = webdriver.Chrome()

driver.get('http://google.com')
assert "Google" in driver.page_source
driver.quit()

5f306160843b8010565956.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimonchik, 2020-08-10
@Amaz1nque

set path to chromedriver

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question