Added example scripts for using selenium

This commit is contained in:
Niels Geens
2024-12-03 13:45:17 +01:00
parent be81d117ac
commit 56563d7c72
3 changed files with 49 additions and 0 deletions

6
selenium/install.sh Normal file
View File

@@ -0,0 +1,6 @@
apt-get update && apt-get install gnupg wget -y && \
wget --quiet --output-document=- https://dl-ssl.google.com/linux/linux_signing_key.pub | gpg --dearmor > /etc/apt/trusted.gpg.d/google-archive.gpg && \
sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' && \
apt-get update && \
apt-get install google-chrome-stable -y --no-install-recommends && \
rm -rf /var/lib/apt/lists/*