diff --git a/tests/test_plugin_remote.py b/tests/test_plugin_remote.py index a347874..5a076b6 100644 --- a/tests/test_plugin_remote.py +++ b/tests/test_plugin_remote.py @@ -52,4 +52,4 @@ def test_keep_alive(simple_page, browser, splinter_webdriver): """Test that Remote WebDriver keep_alive is True.""" if splinter_webdriver != "remote": pytest.skip("Only Remote WebDriver uses keep_alive argument") - assert browser.driver.keep_alive + assert browser.driver.command_executor.keep_alive