Skip to content

Commit 293224e

Browse files
authored
fix: Replace deprecated argument in pytest_report_header hook (#323)
1 parent fe7e522 commit 293224e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/pytest_selenium/pytest_selenium.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ def pytest_configure(config):
235235
config._capabilities = capabilities
236236

237237

238-
def pytest_report_header(config, startdir):
238+
def pytest_report_header(config, start_path):
239239
driver = config.getoption("driver")
240240
if driver is not None:
241241
return "driver: {0}".format(driver)

src/pytest_selenium/safety.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def pytest_configure(config):
3636
)
3737

3838

39-
def pytest_report_header(config, startdir):
39+
def pytest_report_header(config, start_path):
4040
base_url = config.getoption("base_url")
4141
sensitive_url = config.getoption("sensitive_url")
4242
msg = "sensitiveurl: {0}".format(sensitive_url)

0 commit comments

Comments
 (0)