diff --git a/src/pytest_selenium/pytest_selenium.py b/src/pytest_selenium/pytest_selenium.py index e83e5c1..44fbe7f 100644 --- a/src/pytest_selenium/pytest_selenium.py +++ b/src/pytest_selenium/pytest_selenium.py @@ -235,7 +235,7 @@ def pytest_configure(config): config._capabilities = capabilities -def pytest_report_header(config, startdir): +def pytest_report_header(config, start_path): driver = config.getoption("driver") if driver is not None: return "driver: {0}".format(driver) diff --git a/src/pytest_selenium/safety.py b/src/pytest_selenium/safety.py index 813d01b..8205652 100644 --- a/src/pytest_selenium/safety.py +++ b/src/pytest_selenium/safety.py @@ -36,7 +36,7 @@ def pytest_configure(config): ) -def pytest_report_header(config, startdir): +def pytest_report_header(config, start_path): base_url = config.getoption("base_url") sensitive_url = config.getoption("sensitive_url") msg = "sensitiveurl: {0}".format(sensitive_url)