browser = webdriver.firefox() error
browser = webdriver.Firefox(executable_path='enter_path_here')
browser = webdriver.firefox() error
browser = webdriver.Firefox(executable_path='enter_path_here')
browser = webdriver.firefox() error
# test_geckodriver.py
# https://github.com/mozilla/geckodriver/releases
# geckodriver-v0.28.0-win64.zip
from selenium import webdriver
while True:
try:
browser = webdriver.Firefox(executable_path = r'D:/Automation/geckodriver.exe')
except:
print('Open browser error: An error occured, retrying...')
continue
else:
print('Success! ;-)')
break
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us