This repository was archived by the owner on Jun 30, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +17
-1
lines changed Expand file tree Collapse file tree 4 files changed +17
-1
lines changed Original file line number Diff line number Diff line change 1212# -p tcp -d 172.17.0.1 --dport 24444 -j ACCEPT:
1313# iptables: No chain/target/match by that name. (exit status 1)
1414before_install :
15+ - ./host-scripts/gen-scm-source.sh
1516 - docker build -t selenium .
1617
1718install :
Original file line number Diff line number Diff line change @@ -602,6 +602,16 @@ RUN SHA="e4a37c6f8d1cb68f3813c7fdbcfee9a929788a75" \
602602# && rm firefox-${FF_VER}.${FF_LANG}.linux64.tar.bz2 \
603603# ;done
604604
605+ # -----------#
606+ # dumb-init #
607+ # -----------#
608+ # Use dumb-init to allow `docker stop` to end gracefully
609+ # result: it didn't help
610+ # RUN export DUMB_VERS="1.0.1" \
611+ # && wget -nv -O /tmp/dumb-init.deb \
612+ # "https://github.com/Yelp/dumb-init/releases/download/v${DUMB_VERS}/dumb-init_${DUMB_VERS}_amd64.deb" \
613+ # && dpkg -i /tmp/dumb-init.deb
614+
605615# ------------------------#
606616# Sauce Connect Tunneling #
607617# ------------------------#
Original file line number Diff line number Diff line change 11# Selenium in Docker with Chrome and Firefox
2+ [ ![ Build Status] ( https://travis-ci.org/elgalu/docker-selenium.svg?branch=master )] ( https://travis-ci.org/elgalu/docker-selenium )
23[ ![ Gitter] (https://badges.gitter.im/Join Chat.svg)] ( https://gitter.im/elgalu/docker-selenium?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge )
34
45* selenium server grid with 2 nodes (chrome & firefox)
Original file line number Diff line number Diff line change 9797
9898print ("Sending RETURN key" )
9999elem .send_keys (Keys .RETURN )
100+ time .sleep (msleep )
100101
101102print ("Ensure no results were found" )
102103assert "No results found." not in driver .page_source
106107time .sleep (msleep )
107108
108109print ("All done. SUCCESS!" )
109- driver .quit ()
110+ try :
111+ driver .quit ()
112+ except :
113+ pass
You can’t perform that action at this time.
0 commit comments