noob_saibotПробовал.
При добавлении скобок появляется ошибка:
“Traceback (most recent call last):
File ”C:\Python33\lib\subprocess.py", line 1105, in _execute_child startupinfo)
FileNotFoundError: The system cannot find the file specified
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “C:\Python33\lib\site-packages\selenium-2.39.0-py3.3.egg\selenium\webdriver\ie\service.py”, line 66, in start stdout=PIPE, stderr=PIPE)
File “C:\Python33\lib\subprocess.py”, line 817, in __init__ restore_signals, start_new_session)
File “C:\Python33\lib\subprocess.py”, line 1111, in _execute_child raise WindowsError(*e.args)
FileNotFoundError: The system cannot find the file specified
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “<путь до проекта>/Main.py”, line 2, in <module> driver = webdriver.Ie()
File “C:\Python33\lib\site-packages\selenium-2.39.0-py3.3.egg\selenium\webdriver\ie\webdriver.py”, line 46, in __init__ self.iedriver.start()
File “C:\Python33\lib\site-packages\selenium-2.39.0-py3.3.egg\selenium\webdriver\ie\service.py”, line 73, in start and read up at
http://code.google.com/p/selenium/wiki/InternetExplorerDriver")
selenium.common.exceptions.WebDriverException: Message: 'IEDriver executable needs to be available in the path.
Please download from
http://code.google.com/p/selenium/downloads/list and read up at
http://code.google.com/p/selenium/wiki/InternetExplorerDriver'
Process finished with exit code 1
"