Selenium: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 74: | Line 74: | ||
-P $HOME/Downloads/ | -P $HOME/Downloads/ | ||
sudo | sudo mkdir -p /opt/cli/phantomjs | ||
sudo tar xvjf $HOME/Downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 -C /opt/cli/phantomjs/ | |||
tar xvjf $HOME/Downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 -C /opt/cli/phantomjs/ | sudo ln -s /opt/cli/phantomjs/phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/local/bin/ | ||
ln -s /opt/cli/phantomjs/phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/local/bin/ | |||
|} | |} |
Revision as of 02:06, 30 December 2021
docker run --detach \
--publish 4444:4444 \
--hostname firefox \
--name firefox \
--shm-size 2g \
selenium/standalone-firefox:80.0
docker run --detach \
--publish 4444:4444 \
--hostname firefox \
--name firefox \
--volume /dev/shm:/dev/shm \
selenium/standalone-firefox:80.0
docker exec -it firefox cat /etc/hosts http://localhost:4444/wd/hub |
docker run --detach \
--publish 4444:4444 \
--hostname chrome \
--name chrome \
--shm-size 2g \
selenium/standalone-chrome:85.0
docker run --detach \
--publish 4444:4444 \
--hostname chrome \
--name chrome \
--volume /dev/shm:/dev/shm \
selenium/standalone-chrome:85.0
docker exec -it chrome cat /etc/hosts http://localhost:4444/wd/hub |
docker run --detach \
--publish 4444:4444 \
--hostname opera \
--name opera \
--shm-size 2g \
selenium/standalone-opera:71.0
docker run --detach \
--publish 4444:4444 \
--hostname opera \
--name opera \
--volume /dev/shm:/dev/shm \
selenium/standalone-opera:71.0
docker exec -it opera cat /etc/hosts http://localhost:4444/wd/hub |
| ||
wget -c wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2\ -P $HOME/Downloads/ sudo mkdir -p /opt/cli/phantomjs sudo tar xvjf $HOME/Downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 -C /opt/cli/phantomjs/ sudo ln -s /opt/cli/phantomjs/phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/local/bin/ |