[py] Fixing special remote test for passing a firefox profile
import pytest
from selenium import webdriver
-from test.selenium.webdriver.common import utils
from selenium.webdriver.common.desired_capabilities import DesiredCapabilities
-@pytest.fixture(autouse=True)
-def server(request):
- utils.start_server(request)
-
- def fin():
- utils.stop_server(request)
- request.addfinalizer(fin)
-
-
@pytest.fixture
def capabilities():
return DesiredCapabilities.FIREFOX.copy()
@@ -53,4 +43,4 @@ def profile():
def test_profile_is_used(driver):
- assert 'about:' == driver.current_url
+ assert 'about:blank' == driver.current_url
