Skip to content

Commit

Permalink
Merge 305fdf8 into d1cf248
Browse files Browse the repository at this point in the history
  • Loading branch information
khink committed Nov 25, 2019
2 parents d1cf248 + 305fdf8 commit 0cbcd7a
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -237,25 +237,6 @@ As mentioned above, browser is a fixture made by creating splinter's Browser obj
so there you can do whatever you want, and not only execute javascript via browser.evaluate_script.


Several browsers for your test
------------------------------

You can have several browsers in one test.

.. code-block:: python
import pytest
@pytest.fixture
def admin_browser(browser_instance_getter):
return browser_instance_getter(admin_browser)
def test_with_several_browsers(browser, admin_browser):
browser.visit('http://example.com')
admin_browser.visit('about:blank')
assert browser.url == 'http://example.com'
Automatic screenshots on test failure
-------------------------------------

Expand Down

0 comments on commit 0cbcd7a

Please sign in to comment.