From 989cbd8f0f50f8fcb32d83cd8f7b4822526b3869 Mon Sep 17 00:00:00 2001 From: Michael Mintz Date: Mon, 23 Oct 2017 23:50:39 -0400 Subject: [PATCH] Update the ReadMe --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b3713713..10d4249a 100755 --- a/README.md +++ b/README.md @@ -31,10 +31,12 @@ Easily run Selenium/WebDriver automation in *[Python](https://www.python.org/)* Customize scripts from the command line: ```bash -pytest my_first_test.py --demo_mode -s +pytest my_first_test.py --browser=chrome -nosetests my_first_test.py --demo_mode --with-selenium --browser=chrome -s +nosetests my_first_test.py --with-selenium --demo_mode --browser=firefox -s ``` +(The Selenium plugin, ``--with-selenium``, is enabled by default when using pytest to run test classes that inherit [BaseCase](#seleniumbase_basic_usage), thanks to [pytest.ini](https://github.com/seleniumbase/SeleniumBase/blob/master/pytest.ini). You can do the same for nosetests by adding ``with-selenium=1`` under ``[nosetests]`` in a [setup.cfg](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/setup.cfg) file located in the folder where you call nosetests.) + Watch [my_first_test.py](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/my_first_test.py) run in [Demo Mode](#seleniumbase_demo_mode): ![](http://cdn2.hubspot.net/hubfs/100006/images/sb_demo.gif "SeleniumBase Demo")