-
-
Notifications
You must be signed in to change notification settings - Fork 9
Hide scrollbars
Alexandr D edited this page Oct 24, 2018
·
4 revisions
This is possible only when using built it core stategy ScreenshotMaker.
Just call method RemoveScrollBarsWhileShooting()
before TakeScreenshot
are called.
- While taking a screenshot, the scrollbars will be hidden.
- After taking the screenshot, the scrollbars will be visible again.
Code example:
var scmkr = new ScreenshotMaker();
scmkr.RemoveScrollBarsWhileShooting();
var arr = Driver.TakeScreenshot(scmkr);
Images example: