We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9226713 commit cad9412Copy full SHA for cad9412
src/main/java/com/assertthat/selenium_shutterbug/utils/web/Browser.java
@@ -130,7 +130,7 @@ public BufferedImage takeScreenshotEntirePageDefault() {
130
final int scrollBarMaxWidth = 40; // this is probably too high, but better to be safe than sorry
131
132
if (_viewportWidth < _docWidth || (_viewportHeight < _docHeight && _viewportWidth - scrollBarMaxWidth < _docWidth))
133
- _viewportHeight -= scrollBarMaxWidth; // some space for a scrollbar // TODO viewportHeight and scrollVarMaxWidth?
+ _viewportHeight -= scrollBarMaxWidth; // some space for a scrollbar
134
if (_viewportHeight < _docHeight)
135
_viewportWidth -= scrollBarMaxWidth; // some space for a scrollbar
136
0 commit comments