Comments (2)
Hi @plagov ,
Have you got a reproducible example so we can debug?
Thanks
Glib
from selenium-shutterbug.
Hi @glibas,
It looks like this issue is partially solved.
So, here's what I did. I found a public website with a React modal (at my working project the web app I'm testing is also using React). I wrote a basic test that opens a modal window and makes two screenshots - with Capture.FULL
and Capture.FULL_SCROLL
strategies.
So, with v1.6 of the selenium-shutterbug
, the Capture.FULL
strategy works fine and as expected. The other one (Capture.FULL_SCROLL
) doesn't make a proper screenshot.
Here's the code you can run and see how both look - https://github.com/plagov/shutterbug-screenshot-reproduce
I also checked my working project and Capture.FULL
with v1.6 also does a proper screenshot with a modal. I will check throughout the week how it works with sticky headers, alert tooltips and similar floating elements.
So, it seems the Capture.FULL
works fine with Chrome and Capture.FULL_SCROLL
doesn't make a proper screenshot.
Let me know if you need an additional input from my side or any help!
from selenium-shutterbug.
Related Issues (20)
- Capture.FULL not working as expected in Safari browser HOT 6
- Compile failes with latest code from master HOT 4
- Screenshots not working with RemoteWebDriver and Shutterbug 1.6 HOT 7
- Shutterbug.wait() NoSuchMethodError HOT 2
- Fail to take regular element screenshot via Safari/Mac HOT 2
- Display image filename/filepath in exceptions HOT 2
- differences in screenshots
- The header part is missing in the screenshot HOT 1
- Getting null value when getting devicePixelRatio
- . HOT 1
- Capture full screenshot scrolls the view when using the Capture type as FULL
- Footer part is missing while taking the entire webpage in MAC Safari browser and header part is appending again and again in the entire webpage screenshot of IHone Mobile safari browsers
- Full page screenshots occasionally missing some pixels at the bottom HOT 3
- java.lang.NoClassDefFoundError HOT 4
- Incorrect equals check for "microsoft edge" browser if driver instance is of RemoteWebDriver in takeFullPageScreenshot method in Browser class HOT 6
- Full page screenshot issues -Unable to establish websocket connection HOT 2
- [add Feature] about rename file in withname(variable) HOT 2
- Capture.FULL not working with the latest Remote WebDriver HOT 9
- Screenshots with getBytes() don't have title when it is set HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from selenium-shutterbug.