Using Selenium on Mac Chrome

前端 未结 5 872
说谎
说谎 2020-12-13 03:15

Recently got a mac and was able to run Mozilla without any issues but having trouble installing chrome extensions and running it for selenium. Can someone guide me through t

5条回答
  •  北荒
    北荒 (楼主)
    2020-12-13 03:46

    Sometimes you will face a problem with the old version of chromedriver and when you try to install it using this command:

    brew cask install chromedriver
    

    It shows you the following:

    Error: It seems there is already a Binary at '/usr/local/bin/chromedriver'; not linking.
    

    However, you can the following step:

    brew cask reinstall chromedriver
    

    If it still shows you the same error, you can remove it with the following command

    rm /usr/local/bin/chromedriver
    

    and install it again

    brew cask install chromedriver
    

    You should have the last updated version of chrome driver

提交回复
热议问题