M
M
Malbaro2019-07-04 20:57:43
Python
Malbaro, 2019-07-04 20:57:43

What is the error in selenium code?

from selenium import webdriver

driver = webdriver.Chrome()
driver.get('http://vk.com')

Error
C:\Users\Admin\AppData\Local\Programs\Python\Python37-32\python.exe C:/Python/python.py
Traceback (most recent call last):
File "C:\Users\Admin\AppData\ Local\Programs\Python\Python37-32\lib\site-packages\selenium\webdriver\common\service.py", line 76, in start
stdin=PIPE)
File "C:\Users\Admin\AppData\Local\Programs \Python\Python37-32\lib\subprocess.py", line 775, in __init__
restore_signals, start_new_session)
File "C:\Users\Admin\AppData\Local\Programs\Python\Python37-32\lib\subprocess.py" , line 1178, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The specified file cannot be found
During handling of the above exception, another exception occurred:

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2019-07-04
@Malbaro

driver = webdriver.Chrome()

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question