selenium-shutterbug icon indicating copy to clipboard operation
selenium-shutterbug copied to clipboard

Java library to create customized full page/frame/elements screenshots using Selenium WebDriver and Java AWT, screenshots and images comparison and many more cool stuff

Results 24 selenium-shutterbug issues
Sort by recently updated
recently updated
newest added

When I use this line of code with safari `Shutterbug.shootElement(driver, elementLocator, CaptureElement.VIEWPORT, true);` the result is the below exception whereas I chose a VIEWPORT image that should have no scrolling...

1、 first invoke was successful Shutterbug.wait(getExpectedCondition(screenshotElement),60) .shootElement(webDriver, getWebElement(webDriver, screenshotElement), CaptureElement.FULL_SCROLL) .withName(fileName) .save("/Users/evan/Documents/test"); 2、second invoke not with wait() method; NoSuchMethodError PageSnapshot snapshot = Shutterbug.shootPage(webDriver, Capture.FULL_SCROLL) .snapshot.withName(fileName) .save("/Users/evan/Documents/test"); EXCEPTIONG: Handler dispatch failed;...

I used to use version `0.9.3` of the `selenium-shutterbug`. I did the whole page screenshot as follows: ``` Shutterbug.shootPage(webDriver, ScrollStrategy.WHOLE_PAGE).withName(name).save(path) ``` Recently, I have updated the dependency to version `1.5`....

I would want to propose possible fix for https://github.com/assertthat/selenium-shutterbug/issues/70 and enchantment feature that I would want to see. It it ability to resize screenshot that we took. It's pros are:...

enhancement

Screenshot is not proper in safari(macbook) while using Capture.FULL if the page has sticky elements and screenshot not taken completely. `PageSnapshot image = Shutterbug.shootPage(driver, Capture.FULL, 500, true);` ![shutterbug](https://user-images.githubusercontent.com/95393401/158190499-ce9f8276-072d-4d26-9dfd-a24e93ef83ca.jpg)

enhancement

Here is couple of concerns: 1. Setting headless property by default. On the one hand we let users to not write `headless()` each time they face the issue `Could not...

Use [this fiddle ](https://jsfiddle.net/roboaks/eh1ubpan/)to confirm. My unit test activates the `result` `iframe` and then uses `shootElement` for `#VerticallyScrollableDiv`. Here is the result: ![ScrollableElement](https://user-images.githubusercontent.com/8267101/90131904-e51dd280-dd3a-11ea-94d1-039c55c95abf.png)

enhancement

Need to account for element border when shooting the element to allow seamless stitching e.g ```java Shutterbug.shootElement(driver, webElement, CaptureElement.HORIZONTAL_SCROLL).withBorders(1,1,1,0)save(); ```

enhancement