Skip to content

Commit aebb32a

Browse files
committed
Compatibility with other pytest-html versions
1 parent a092819 commit aebb32a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

seleniumbase/fixtures/base_case.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12372,12 +12372,14 @@ def __add_pytest_html_extra(self):
1237212372
extra_url = {}
1237312373
extra_url["name"] = "URL"
1237412374
extra_url["format"] = "url"
12375+
extra_url["format_type"] = "url"
1237512376
extra_url["content"] = self.get_current_url()
1237612377
extra_url["mime_type"] = None
1237712378
extra_url["extension"] = None
1237812379
extra_image = {}
1237912380
extra_image["name"] = "Screenshot"
1238012381
extra_image["format"] = "image"
12382+
extra_image["format_type"] = "image"
1238112383
extra_image["content"] = self.__last_page_screenshot
1238212384
extra_image["mime_type"] = "image/png"
1238312385
extra_image["extension"] = "png"

0 commit comments

Comments
 (0)