Closed
Description
The generated report html is missing the <img>
tag for screenshots.
Example test:
def test_foo(selenium):
selenium.get('http://google.com')
assert False
command:
$ pytest --driver chrome --driver-path path/to/chromedriver test.py --html report.html
The report shows a blank square instead of an image:
In the inspector, there's an empty <a>
tag:
The link in the <a>
tag goes to the (expected) screenshot on disk.
I can't tell if this is a problem with pytest-selenium
, pytest-html
, or something else. Any help would be appreciated.
Metadata
Metadata
Assignees
Labels
No labels