Skip to content

Clean large files from history #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 219 commits into from
Dec 4, 2015
Merged
Changes from all commits
Commits
Show all changes
219 commits
Select commit Hold shift + click to select a range
e02ea8f
First Commit
Mar 5, 2014
85306b0
Read the Docs: Fork the repository before cloning it
Mar 5, 2014
75cdf05
Update the remote selenium config file (missing req)
Mar 5, 2014
e7fcd2a
errplane is now influxdb (useful integration for capturing metrics)
Mar 26, 2014
f25b2ce
Update testcaserepository.sql
mdmintz Mar 31, 2014
5ca1fae
Update testcaserepository.sql
mdmintz Mar 31, 2014
2ccfa7d
Update README.md
mdmintz Apr 1, 2014
da61000
Use phantomjs for headless browser automation
mdmintz Apr 3, 2014
df59ab0
Use phantomjs for headless browser automation
mdmintz Apr 3, 2014
5638c91
Making args available to tests
mdmintz Apr 4, 2014
43bcd94
Add PhantomJS to the README.
mdmintz Apr 4, 2014
1f23d7c
Fail fast if you can't connect to your MySQL DB
mdmintz Apr 4, 2014
75ab670
Updates for the DB
mdmintz Apr 4, 2014
9fd0fee
Updates for the DB
mdmintz Apr 4, 2014
4485229
Updates for the DB
mdmintz Apr 4, 2014
828bd1c
Updates for the DB
mdmintz Apr 4, 2014
c47ffb1
Drop an unused table and save some memory.
mdmintz Apr 7, 2014
72767d8
Update page_loads.py
mdmintz Jul 10, 2014
dedd2a4
ipdb is the improved version of pdb
mdmintz Jun 1, 2015
197232c
Updated Homebrew install line
Jun 16, 2015
4f1067e
Simplify example test
Jun 16, 2015
0f990a1
Add MIT License
mdmintz Jul 12, 2015
d3b8267
Clean up requirements
mdmintz Jul 12, 2015
c5facbf
Save space by not including the selenium server jar file with the repo
mdmintz Jul 12, 2015
a8c2d21
Shorten the default timeouts (before failing) in the base_case
mdmintz Jul 13, 2015
496ab38
Wait before click
mdmintz Jul 13, 2015
93819db
Simplify the readme
mdmintz Jul 13, 2015
003f3f9
Save time in the future by using .bash_profile
mdmintz Jul 13, 2015
d284ad5
Make it easy to activate jquery on pages that don't have it on by def…
mdmintz Jul 13, 2015
74b2b91
Version updates
mdmintz Jul 13, 2015
e24ab60
Keeping things real
mdmintz Jul 13, 2015
99c4cb9
Simplify the instructions for updating .bash_profile
mdmintz Jul 13, 2015
ce66eb6
self.open(url) as an alternative to self.driver.get(url)
mdmintz Jul 13, 2015
9c1f47e
Have the README.md example use the simplified open(url) call
mdmintz Jul 13, 2015
6877c6d
Talk about lsvirtualenv in the readme
mdmintz Jul 15, 2015
8424b65
Talk about "pip freeze" in the readme
mdmintz Jul 15, 2015
3bb94ea
Handling pop-up alerts in the browser
mdmintz Jul 15, 2015
bcbce18
Figuring out what the default timeouts should be.
mdmintz Jul 15, 2015
bf2658d
Updated example that uses three different web browsers
mdmintz Jul 15, 2015
55506a7
Xvfb info for headless browsing from Jenkins
mdmintz Jul 16, 2015
74335c1
Mini-tutorial on how to remove unwanted virtual envs
mdmintz Jul 16, 2015
b438ebe
Include other useful nosetest arguments in ReadMe
mdmintz Jul 16, 2015
107d742
It's important to be aware of hidden files.
mdmintz Jul 16, 2015
d131e2c
Disable Firefox Reader View
mdmintz Jul 16, 2015
7eeebe5
Slack integration, and updates to existing documentation.
mdmintz Jul 17, 2015
27ae5e1
Clean up spacing issues with page_source.py
mdmintz Jul 19, 2015
a176e4d
Description updates in screen_shots.py
mdmintz Jul 19, 2015
8c602ce
Browser versioning
mdmintz Jul 19, 2015
d3c0b9c
A wider selection of default environments to choose from.
mdmintz Jul 19, 2015
f347ae1
Easy to simplify the key import statement (can skip "fixtures")
mdmintz Jul 19, 2015
a798615
Simplify the import process even more.
mdmintz Jul 19, 2015
2dec5b6
Updates for the latest version of the selenium server.
mdmintz Jul 19, 2015
6621eae
Change the grid folder naming scheme.
mdmintz Jul 19, 2015
210b3c1
Using the name given to the test framework
mdmintz Jul 20, 2015
5d6a550
Renaming the grid folder.
mdmintz Jul 20, 2015
e81a5ce
A "common" area for decorators.
mdmintz Jul 20, 2015
836cb3c
A slightly different way of handling the imports.
mdmintz Jul 20, 2015
f011e37
Moving the examples over to a new location.
mdmintz Jul 20, 2015
f74fa33
Set logging level to INFO for the examples.
mdmintz Jul 20, 2015
e6ed50d
Screenshot naming
mdmintz Jul 20, 2015
15e71bd
More for .gitignore
mdmintz Jul 20, 2015
6bfb1a3
Upping the version number.
mdmintz Jul 20, 2015
8b3404b
Upping the requirements.
mdmintz Jul 20, 2015
bb2db76
Use the newer version of Selenium: 2.46.1
mdmintz Jul 20, 2015
935de6f
Precision waiting.
mdmintz Jul 21, 2015
3aa5e21
Add open_url() as an alternative to open()
mdmintz Jul 21, 2015
6b2068a
Moving "common". Adding "config". Updating "setup.py"
mdmintz Jul 23, 2015
8959525
Using the new config file for timeouts.
mdmintz Jul 23, 2015
2910c02
Running an example test with a config file.
mdmintz Jul 23, 2015
8143571
Moving Amazon S3 credentials to a separate config file.
mdmintz Jul 23, 2015
e71dc78
Move the MySQL DB credentials to a separate config file.
mdmintz Jul 23, 2015
7d86e61
Updating the naming of Amazon S3 credentials.
mdmintz Jul 23, 2015
f4a504f
Adding a rate-limiting decorator.
mdmintz Jul 23, 2015
c35c7ad
Adding a rate-limited decorator example.
mdmintz Jul 23, 2015
22573be
Revamp the "examples" folder.
mdmintz Jul 23, 2015
36b135a
Update HipChat settings
mdmintz Jul 23, 2015
d914772
Email Manager and settings configuration.
mdmintz Jul 23, 2015
7dde7cf
Edits to fixtures.
mdmintz Jul 23, 2015
d7d57d8
Adding wait_for_ready_state_complete()
mdmintz Jul 23, 2015
6b05723
Moving jq_format() to page_utils
mdmintz Jul 23, 2015
8cd0ab9
Update comments in errors.py
mdmintz Jul 23, 2015
c61ec80
Might be safe to use a real tab rather than 4 spaces.
mdmintz Jul 23, 2015
54c81cd
Update comments for page_utils.py
mdmintz Jul 23, 2015
05f94a0
Updating methods that update text values.
mdmintz Jul 23, 2015
ae68476
The option to add wait_for_ready_state_complete() after various actions.
mdmintz Jul 23, 2015
b52c1c3
Improvements to alert-handling code.
mdmintz Jul 23, 2015
b0cda3d
Adding returns and shortcuts.
mdmintz Jul 23, 2015
7c86a05
Updates to base_case.py
mdmintz Jul 24, 2015
2e7e969
Updates to the ReadMe.md
mdmintz Jul 24, 2015
2bd2819
Install the requirements right from setup.py
mdmintz Jul 24, 2015
4fff113
Creating a local install that doesn't require MySQL
mdmintz Jul 26, 2015
83abf29
Giving Windows users some love
mdmintz Jul 26, 2015
56d24d1
Browsers that you'll need to run the example tests.
mdmintz Jul 26, 2015
09baf44
Force using pip to install the requirements.
mdmintz Jul 27, 2015
583debd
Say it the right way.
mdmintz Jul 27, 2015
3e9d18f
Time to use those marketing skills.
mdmintz Jul 27, 2015
e28072e
Build, Automate, Verify
mdmintz Jul 27, 2015
6c5cc37
The download alternative to git clone
mdmintz Jul 27, 2015
b7555df
Some documentation updates.
mdmintz Jul 28, 2015
437c44a
More documentation updates.
mdmintz Jul 28, 2015
e3096f9
Make sure that only integers are passed into range()
mdmintz Jul 30, 2015
3ba20ef
Rebranding SeleniumSpot as SeleniumBase
mdmintz Aug 3, 2015
461b568
More needed for the rebranding
mdmintz Aug 3, 2015
0653bed
Using the latest selenium server, 2.47.0
mdmintz Aug 3, 2015
b97f454
Give correct location of selenium-server-standalone
mdmintz Aug 3, 2015
4cfbe9d
Time for another version update. Now 1.1.2
mdmintz Aug 3, 2015
3ea3f6e
Update grid info.
mdmintz Aug 3, 2015
011f615
Another URL to get the selenium server.
mdmintz Aug 3, 2015
8701fc8
More detailed Selenium Grid Hub readme
mdmintz Aug 4, 2015
b2ff339
Simplify the Selenium node-to-grid code
mdmintz Aug 4, 2015
7d4190f
Use the newer version of the selenium-server-standalone
mdmintz Aug 4, 2015
5fa321f
Update default timeouts.
mdmintz Aug 5, 2015
260d6b3
"test_framework" is now "seleniumbase"
mdmintz Aug 5, 2015
57fba19
All the browsers for grid nodes.
mdmintz Aug 5, 2015
0062ee2
Simplify call to driver.set_window_size(width, height)
mdmintz Aug 5, 2015
11031b6
One less screenshot, but keep a little delay.
mdmintz Aug 5, 2015
ba91ad4
Update method waiting for text visibility.
mdmintz Aug 5, 2015
1a6aa98
Simplify maximization of window.
mdmintz Aug 5, 2015
7766fbf
Update Fail example
mdmintz Aug 5, 2015
323bd83
A lot of changes means a new version update: Now 1.1.3
mdmintz Aug 5, 2015
f513a47
Fix bug with waiting for an alert to appear.
mdmintz Aug 10, 2015
a151732
Up version to 1.1.4
mdmintz Aug 10, 2015
7201940
Use the latest version of selenium (2.47.1)
mdmintz Aug 12, 2015
6a68a69
Fix bug waiting for an element that's present but not visible.
mdmintz Aug 14, 2015
455b9e1
A quick way to pass more data to tests from the command line.
mdmintz Aug 19, 2015
62302d2
Update comments for base_plugin
mdmintz Aug 19, 2015
7f284ab
Update Selenium Launcher
mdmintz Aug 19, 2015
fc70fda
Update version to 1.1.5
mdmintz Aug 19, 2015
8b6ed51
Add a version of setup.py that also installs the requirements.
mdmintz Aug 21, 2015
a2ff0da
Let scroll_to() wait if element is not immediately visible
mdmintz Sep 6, 2015
541e38b
Simplify requirements setup and use standard naming
mdmintz Nov 15, 2015
faf3ed8
A way to install pip without using pip
mdmintz Nov 15, 2015
0ef37d3
Update README.md
mdmintz Nov 15, 2015
205c93c
Update version.
mdmintz Nov 15, 2015
9864173
Add Docker support
mdmintz Nov 15, 2015
e5a9370
Add instructions for running SeleniumBase tests in Docker
mdmintz Nov 15, 2015
93ae310
Update the Readme
mdmintz Nov 15, 2015
ed8a063
Up the version number
mdmintz Nov 15, 2015
f7abaa1
Updates to Docker readme
mdmintz Nov 15, 2015
2196100
File permissions update
mdmintz Nov 15, 2015
10bed87
ignore ghostdriver.log => .gitignore update
mdmintz Nov 15, 2015
09ce707
Renaming example test scripts
mdmintz Nov 15, 2015
4224cf2
Improve Docker integration
mdmintz Nov 16, 2015
727c15a
Install PhantomJS with Docker
mdmintz Nov 17, 2015
2b2ee92
Better readme info on deleting Docker images and containers
mdmintz Nov 17, 2015
5a10dba
Docker example tests now run in Firefox and PhantomJS
mdmintz Nov 17, 2015
3c9fbd2
Have the PhantomJS script use PhantomJS
mdmintz Nov 17, 2015
3971533
Update the first example test
mdmintz Nov 17, 2015
778138d
Update the Docker readme
mdmintz Nov 17, 2015
8f953a1
Get to the point faster in the readme
mdmintz Nov 17, 2015
ace3f43
Getting picky with details in the readme
mdmintz Nov 17, 2015
dcbf650
Update the readme
mdmintz Nov 17, 2015
50c7d32
More readme updates
mdmintz Nov 17, 2015
35e6180
Readme update
mdmintz Nov 18, 2015
2d0c7bf
Readme update
mdmintz Nov 18, 2015
bc86a11
Update readme code example
mdmintz Nov 18, 2015
4770ff6
One setup.py for both DB and non-DB usage
mdmintz Nov 19, 2015
c2d26d2
Clang error resolved... No need for workaround
mdmintz Nov 19, 2015
f422478
Pip comes with the latest python.
mdmintz Nov 19, 2015
28d0c58
Flake8 whitespace and unused imports
mdmintz Nov 19, 2015
47398c1
OS compatibility instructions
mdmintz Nov 19, 2015
92ab809
Move a few DB imports to only where needed.
mdmintz Nov 19, 2015
96e3eba
Move a few of the DB imports back to the top.
mdmintz Nov 19, 2015
cb97b28
A few Flake8 updates.
mdmintz Nov 19, 2015
cd734b5
Update the Dockerfile
mdmintz Nov 19, 2015
cfaac11
Converting Docker readme into a markdown file
mdmintz Nov 20, 2015
70855d8
Update Docker readme
mdmintz Nov 20, 2015
453482e
Update the Docker readme
mdmintz Nov 20, 2015
d5eef54
Add Docker_README link in README.md
mdmintz Nov 20, 2015
d3a54b5
Minor update to the readme
mdmintz Nov 20, 2015
934942a
Update the Readme
mdmintz Nov 20, 2015
1541449
Update the Readme
mdmintz Nov 20, 2015
088c650
Update the Readme
mdmintz Nov 20, 2015
5f9d5f7
Update the Readme
mdmintz Nov 20, 2015
fc313bf
Use the latest Selenium Server
mdmintz Nov 21, 2015
0f7ac0b
Improve the Readme for the Selenium Grid Hub
mdmintz Nov 21, 2015
8be2d95
Update the Grid Hub Server Readme
mdmintz Nov 21, 2015
cd4450b
Adding pytest support
mdmintz Nov 23, 2015
b8a404d
Update details in the pytest configuration file
mdmintz Nov 23, 2015
c8544d3
Add pytest to Docker requirements
mdmintz Nov 23, 2015
88e418a
Make the pytest code more robust
mdmintz Nov 23, 2015
803ac38
Updated test description
mdmintz Nov 23, 2015
bb0bac7
Include a setup.cfg file for configuration simplification
mdmintz Nov 23, 2015
d60dbaf
Updated Docker readme
mdmintz Nov 23, 2015
4b6d5ce
Docker readme update
mdmintz Nov 24, 2015
97342e0
Adding useful comments for pytest-related methods
mdmintz Nov 24, 2015
6797ac5
Choosing a different xkcd comic for the example test
mdmintz Nov 25, 2015
a07d145
Add option to pass extra data to tests from the command line (pytest)
mdmintz Nov 30, 2015
c2ac951
Add pytest way of using the nosetests --with-selenium plugin
mdmintz Dec 1, 2015
209263f
Flake8 and organization
mdmintz Dec 1, 2015
11c1479
pytest comments for setUp() and tearDown() methods of subclasses
mdmintz Dec 2, 2015
30fb26c
Combining page_loads.py and page_interactions.py into page_actions.py
mdmintz Dec 2, 2015
49bdf13
Comments and sorting methods by significance
mdmintz Dec 2, 2015
b4cba62
There's no time
mdmintz Dec 2, 2015
99b4366
Flake8 and comments
mdmintz Dec 2, 2015
063508f
Reorganizing method ordering
mdmintz Dec 2, 2015
03b168f
Update the comments
mdmintz Dec 2, 2015
7608bb8
On a flake8 crusade
mdmintz Dec 2, 2015
fc8a0f1
pyflakes are part of a healthy code diet
mdmintz Dec 2, 2015
f62f94c
Flake8 updates
mdmintz Dec 2, 2015
f6ee7a4
Pytest plugin to save logs/screenshots when tests fail
mdmintz Dec 2, 2015
a539334
Add basic test info to log file after test failures (pytest)
mdmintz Dec 3, 2015
482b6b4
Text-based log files will use the .txt extension (rather than .log)
mdmintz Dec 3, 2015
881567d
Flake8 updates
mdmintz Dec 3, 2015
8eca1a4
Continue the flake8 crusade
mdmintz Dec 3, 2015
7796be8
Make the failing test example fail faster
mdmintz Dec 3, 2015
9579324
Renaming a file and a method
mdmintz Dec 3, 2015
be674a5
Clean up the pytest logging system
mdmintz Dec 3, 2015
7e99bcf
Maybe I don't need all that code right now
mdmintz Dec 3, 2015
cde66ad
Improve the logging system
mdmintz Dec 4, 2015
e293f4b
Update the ReadMe
mdmintz Dec 4, 2015
7bb0342
Better marketing slogan
mdmintz Dec 4, 2015
588b59b
Update settings descriptions and example values
mdmintz Dec 4, 2015
6aad305
Update the spacing
mdmintz Dec 4, 2015
913a5fc
Add to the settings description
mdmintz Dec 4, 2015
6cd7e7a
Update the ReadMe
mdmintz Dec 4, 2015
831acb2
ReadMe perfection-seeking
mdmintz Dec 4, 2015
f13c646
ReadMe spacing
mdmintz Dec 4, 2015
58aa4d8
The MySQL part is important to mention.
mdmintz Dec 4, 2015
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
*.py[cod]

# Packages
*.egg
*.egg-info
dist
build
logs
archived_logs
ghostdriver.log
eggs
parts
bin
var
sdist
develop-eggs
.installed.cfg
lib
lib64
__pycache__

# Installer logs
pip-log.txt
.swp

# Unit test / coverage reports
.coverage
.tox
nosetests.xml

# py.test
.cache/*
.pytest_config

# Developer
.project
.pydevproject
59 changes: 59 additions & 0 deletions Docker_README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
## Docker setup instructions for SeleniumBase

#### 1. Get the Docker Toolbox from https://www.docker.com/docker-toolbox and install it.

#### 2. Create your SeleniumBase Docker environment:

docker-machine create --driver virtualbox seleniumbase

#### 3. If your Docker environment ever goes down for any reason, you can bring it back up with a restart:

docker-machine restart seleniumbase

#### 4. Configure your shell:

eval "$(docker-machine env seleniumbase)"

#### 5. Go to the SeleniumBase home directory. (That's where "Dockerfile" is located)

#### 6. Create your Docker image from your Dockerfile: (Get ready to wait awhile)

docker build -t seleniumbase .

#### 7. Run a test inside your Docker: (Once the test completes after a few seconds, you'll automatically exit the Docker shell)

docker run seleniumbase ./run_docker_test_in_firefox.sh

#### 8. You can also enter Docker and stay inside the shell:

docker run -i -t seleniumbase

#### 9. Now you can run the example test from inside the Docker shell: (This time using PhantomJS)

./run_docker_test_in_phantomjs.sh

#### 10. When you're satisfied, you may exit the Docker shell:

exit

#### 11. (Optional) Since Docker images and containers take up a lot of space, you may want to clean up your machine from time to time when they’re not being used:
http://stackoverflow.com/questions/17236796/how-to-remove-old-docker-containers
Here are a few of those cleanup commands:

docker images | grep "<none>" | awk '{print $3}' | xargs docker rmi
docker rm 'docker ps --no-trunc -aq'

If you want to completely remove all of your Docker containers and images, use these commands: (If there's nothing to delete, those commands will return an error.)

docker rm $(docker ps -a -q)
docker rmi $(docker images -q)

Finally, if you want to wipe out your SeleniumBase Docker virtualbox, use these commands:

docker-machine kill seleniumbase
docker-machine rm seleniumbase

#### 12. (Optional) More reading on Docker can be found here:
* https://docs.docker.com
* https://docs.docker.com/mac/started/
* https://docs.docker.com/installation/mac/
105 changes: 105 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
# SeleniumBase Docker Image
FROM ubuntu:14.04

# Install Python and Basic Python Tools
RUN apt-get update && apt-get install -y python python-pip python-setuptools python-dev python-distribute

#========================
# Miscellaneous packages
# Includes minimal runtime used for executing selenium with firefox
#========================
ENV BUILD_DEPS '\
build-essential \
libmysqlclient-dev \
libpython-dev \
libyaml-dev \
libxml2-dev \
libxslt1-dev \
libxslt-dev \
zlib1g-dev \
'

RUN apt-get update -qqy \
&& apt-get -qy --no-install-recommends install \
locales \
language-pack-en \
sudo \
unzip \
wget \
curl \
vim \
xvfb \
libaio1 \
libxml2 \
libxslt1.1 \
mysql-client \
${BUILD_DEPS} \
&& rm -rf /var/lib/apt/lists/*

#==============================
# Locale and encoding settings
#==============================
ENV LANGUAGE en_US.UTF-8
ENV LANG ${LANGUAGE}
RUN locale-gen ${LANGUAGE} \
&& dpkg-reconfigure --frontend noninteractive locales

#====================
# Firefox Latest ESR
#====================
RUN apt-get update -qqy \
&& apt-get -qy --no-install-recommends install \
$(apt-cache depends firefox | grep Depends | sed "s/.*ends:\ //" | tr '\n' ' ') \
&& rm -rf /var/lib/apt/lists/* \
&& cd /tmp \
&& wget --no-check-certificate -O firefox-esr.tar.bz2 \
'https://download.mozilla.org/?product=firefox-esr-latest&os=linux64&lang=en-US' \
&& tar -xjf firefox-esr.tar.bz2 -C /opt/ \
&& ln -s /opt/firefox/firefox /usr/bin/firefox \
&& rm -f /tmp/firefox-esr.tar.bz2

#===================
# Timezone settings
#===================
# Full list at http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
# e.g. "US/Pacific" for Los Angeles, California, USA
ENV TZ "America/New_York"
# Apply TimeZone
RUN echo $TZ | tee /etc/timezone \
&& dpkg-reconfigure --frontend noninteractive tzdata

#========================================
# Add normal user with passwordless sudo
#========================================
RUN sudo useradd seluser --shell /bin/bash --create-home \
&& sudo usermod -a -G sudo seluser \
&& echo 'ALL ALL = (ALL) NOPASSWD: ALL' >> /etc/sudoers

#===================
# Install PhantomJS
#===================
RUN cd /usr/local/share && wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.7-linux-x86_64.tar.bz2
RUN cd /usr/local/share && tar xjf phantomjs-1.9.7-linux-x86_64.tar.bz2
RUN ln -s /usr/local/share/phantomjs-1.9.7-linux-x86_64/bin/phantomjs /usr/local/share/phantomjs
RUN ln -s /usr/local/share/phantomjs-1.9.7-linux-x86_64/bin/phantomjs /usr/local/bin/phantomjs
RUN ln -s /usr/local/share/phantomjs-1.9.7-linux-x86_64/bin/phantomjs /usr/bin/phantomjs

#=====================
# Set up SeleniumBase
#=====================
COPY docker/docker_requirements.txt /SeleniumBase/
COPY docker/docker_setup.py /SeleniumBase/
COPY seleniumbase /SeleniumBase/seleniumbase/
COPY examples /SeleniumBase/examples/
RUN cd /SeleniumBase && ls && sudo pip install -r docker_requirements.txt
RUN cd /SeleniumBase && ls && sudo python docker_setup.py install

#=========================================
# Create entrypoint and grab example test
#=========================================
COPY docker/docker-entrypoint.sh /
COPY docker/run_docker_test_in_firefox.sh /
COPY docker/run_docker_test_in_phantomjs.sh /
COPY docker/docker_config.cfg /SeleniumBase/examples/
ENTRYPOINT ["/docker-entrypoint.sh"]
CMD ["/bin/bash"]
22 changes: 22 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
The MIT License (MIT)

Copyright (c) 2015 Michael Mintz

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Loading