TYPO3-Documentation / t3docs-screenshots

Providing a way to take screenshots of the TYPO3 CMS in a scripted way.
MIT License
10 stars 6 forks source link

[BUGFIX] add '.module-body' as standard selector #217

Closed linawolf closed 3 years ago

linawolf commented 3 years ago

For makeScreenshotOfTable and Record.

This keeps the previous behavior of showing the record or table without menu or header.

It is still possible to take screenshots with menu and header by supplying setting "selector": "",

alexander-nitsche commented 3 years ago

Can you provide a screenshot of the old way? First thing that comes to my mind: module-body implicitly calls screenshot of element, which means, if the window is not resized to full page, that parts of the screenshot are empty ..

linawolf commented 3 years ago

Embarassing, but now I cannot find any example anymore why I needed this. Seems whereever I use makeScreenshotOfTable and Record I have defined a custom selector anyway