docs: fix Chrome install step, apt-key is removed on Debian 13+
This commit is contained in:
@@ -111,15 +111,15 @@ python3 --version # should print 3.10 or higher
|
|||||||
Required for the Selenium service to control a browser.
|
Required for the Selenium service to control a browser.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
|
wget -q https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb -O /tmp/google-chrome-stable.deb
|
||||||
echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" | sudo tee /etc/apt/sources.list.d/google-chrome.list
|
sudo apt install -y /tmp/google-chrome-stable.deb
|
||||||
sudo apt-get update
|
|
||||||
sudo apt-get install -y google-chrome-stable
|
|
||||||
|
|
||||||
# Verify
|
# Verify
|
||||||
google-chrome --version
|
google-chrome --version
|
||||||
```
|
```
|
||||||
|
|
||||||
|
> `apt-key` is removed on modern Debian (13+), so the old signing-key + repo method no longer works. `apt install` on the downloaded `.deb` pulls in dependencies automatically.
|
||||||
|
|
||||||
> The `webdriver-manager` package (included in `requirements.txt`) automatically downloads the matching ChromeDriver — no manual driver setup needed.
|
> The `webdriver-manager` package (included in `requirements.txt`) automatically downloads the matching ChromeDriver — no manual driver setup needed.
|
||||||
|
|
||||||
### Step 7 — Install PostgreSQL
|
### Step 7 — Install PostgreSQL
|
||||||
|
|||||||
Reference in New Issue
Block a user