반응형
Notice
Recent Posts
Recent Comments
Link
«   2024/09   »
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30
Archives
Today
Total
관리 메뉴

for Time in Life:

Installing Google Chrome and ChromeDriver in Linux Terminal 본문

개발 환경

Installing Google Chrome and ChromeDriver in Linux Terminal

rooter 2023. 2. 10. 15:29

 

Installing Google Chrome on Linux

    1. Open your terminal and run the following command to update your package list:
sudo apt update
    1. Download the Google Chrome package by running this command:
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
    1. Install the package by running this command:
sudo dpkg -i google-chrome-stable_current_amd64.deb
    1. You can start Google Chrome by searching for it in your application menu or by running the following command in the terminal:
google-chrome

Installing ChromeDriver on Linux

    1. Open your terminal and download the latest version of ChromeDriver from the official website:
wget https://chromedriver.storage.googleapis.com/LATEST_RELEASE
    1. Copy the latest version number from the downloaded file, and use it in the following command to download the appropriate ChromeDriver binary:
wget https://chromedriver.storage.googleapis.com/{VERSION}/chromedriver_linux64.zip
    1. Extract the downloaded file:
unzip chromedriver_linux64.zip
    1. Make the extracted file executable:
chmod +x chromedriver
    1. Finally, move the ChromeDriver binary to a location in your PATH so that it can be easily accessed:
sudo mv chromedriver /usr/local/bin/

That's it! You should now be able to use ChromeDriver in your scripts or programs.

반응형