10/30/2023 0 Comments Brew chromedriver![]() ![]() I'd appreciate your help & recommendations. I had Chrome, homebrew and Python3 installed originally but without running: brew cask install chromedriver. SignInButton = driver.find_element_by_xpath('/html/body/section/div/div/div/form/div/button').click()ĪttributeError: 'WebDriver' object has no attribute 'find_element_by_xpath' PasswordInput = driver.find_element_by_xpath('/html/body/section/div/div/div/form/div/input') In my understanding, chromedriver has been installed succesfully.įrom Credentials import LoginId, passwordĮmailId = driver.find_element_by_xpath('/html/body/section/div/div/div/form/div/input') Please see ChromeDriver - WebDriver for Chrome - Security Considerations for suggestions on keeping ChromeDriver safe. ![]() Then I run chromedriver file from terminal. ![]() Unzipped it and moved into /usr/local/bin/ Since brew cask command is not supported anymore, I downloaded chromedriver_mac64.zip in compatible with my Chrome version. brew cask install chromedriverVerify the version of the Chrome driver. What I am trying to do is to login to a website using my credentials from command line.īrew tap homebrew/cask & brew cask install chromedriver We shall take the help of Homebrew package manager for installation in Mac OS. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |