I’m encountering difficulties while attempting to execute the following cod
from selenium import webdriver
driver = webdriver.Chrome(‘/Users/bearuum/Downloads/chromedriver-mac-x64/chromedriver’)
the error is : AttributeError: ‘str’ object has no attribute ‘capabilities’
Thank you in advance for your help.
Despite attempting to authorize the ChromeDriver in the preferences, this error persists.
Could someone kindly assist me in resolving this issue?
Beatrice Ruocco is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.