Skip to content

Commit

Permalink
Reverted edits.
Browse files Browse the repository at this point in the history
  • Loading branch information
markon committed Jun 24, 2014
1 parent 994cdf9 commit 5f61b6a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pytest_splinter/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ def splinter_session_scoped_browser(request):
@pytest.fixture # pragma: no cover
def browser(
request, browser_pool, splinter_webdriver, splinter_session_scoped_browser,
splinter_close_browser, splinter_browser_load_condition):
splinter_close_browser):
"""Splinter browser wrapper instance. To be used for browser interaction.
Function scoped (cookies are clean for each test and on blank).
"""
Expand All @@ -240,7 +240,6 @@ def browser(
pass
browser = browser_pool[0] = get_browser()

browser.visit_condition = splinter_browser_load_condition
browser.driver.get('about:blank')
return browser

Expand Down

0 comments on commit 5f61b6a

Please sign in to comment.