Skip to content

Add sb.save_page_source_to_logs() #3871

@mdmintz

Description

@mdmintz

Add sb.save_page_source_to_logs()

Similar to the existing methods, sb.save_screenshot_to_logs() and sb.save_data_to_logs(data), we should also have sb.save_page_source_to_logs(). It'll save the page source to the existing logs folder.

Note that the page source is already saved during test failures. With this ticket complete, it can also be saved at any time.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions