Skip to content

Screen shots full desktop selenium PageSource saving

Jakub Raczek edited this page Jun 26, 2025 · 7 revisions

Our framework allows you to take screenshots: selenium browser, screenshots of elements. It also allows you to save page source.

Screenshots can be taken automatically in case of test failure by setting it in app.config file:

    "SeleniumScreenShotEnabled" :true,
    "GetPageSourceEnabled" :true

Folder where screenshots will be saved is also set in in appsettings.json file:

    "UseCurrentDirectory" :true,
    "ScreenShotFolder" :"TestOutput",
    "PageSourceFolder" :"TestOutput"

Clone this wiki locally