From 5f61b6adfb7ffc4129bbf607dcd2fa07ee4c31c5 Mon Sep 17 00:00:00 2001 From: markon Date: Tue, 24 Jun 2014 16:18:20 +0200 Subject: [PATCH] Reverted edits. --- pytest_splinter/plugin.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pytest_splinter/plugin.py b/pytest_splinter/plugin.py index 300d83e..e37dbcb 100644 --- a/pytest_splinter/plugin.py +++ b/pytest_splinter/plugin.py @@ -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). """ @@ -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