We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version 2.1.0
Short overview Due to an off by one error it's impossible to capture the whole screen when specifying a region.
Steps to reproduce error
describe("Capture", () => { it("fullScreen capture", () => { // GIVEN const screenSize = libnut.getScreenSize() // WHEN const capture = () => libnut.screen.capture(0, 0, screenSize.width, screenSize.height); // THEN expect(capture).not.toThrowError("Error: Given width exceeds display dimensions"); }); });
The text was updated successfully, but these errors were encountered:
(#45) Added test to verify behaviour
045d12d
(#45) Fixed off by one error on region caputre
78fdfad
(#45) Updated changelog
879cb8c
Successfully merging a pull request may close this issue.
Version
2.1.0
Short overview
Due to an off by one error it's impossible to capture the whole screen when specifying a region.
Steps to reproduce error
The text was updated successfully, but these errors were encountered: