Skip to content

Commit

Permalink
fix: Replace deprecated argument in pytest_report_header hook (#323)
Browse files Browse the repository at this point in the history
  • Loading branch information
BeyondEvil authored Feb 1, 2024
1 parent fe7e522 commit 293224e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pytest_selenium/pytest_selenium.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/pytest_selenium/safety.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 293224e

Please sign in to comment.