We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 209fe5a commit 2de75b7Copy full SHA for 2de75b7
examples/screenshot.py
@@ -24,6 +24,15 @@
24
Tested configurations:
25
- CEF Python v57.0+
26
- Pillow 2.3.0 / 4.1.0
27
+
28
+NOTE: There are limits in Chromium on viewport size. For some
29
+ websites with huge viewport size it won't work. In such
30
+ case it is required to reduce viewport size to an usual
31
+ size of a window and perform scrolling programmatically
32
+ using javascript while making a screenshot for each of
33
+ the scrolled region. Then at the end combine all the
34
+ screenshots into one. To force a paint event in OSR
35
+ mode call cef.Invalidate().
36
"""
37
38
from cefpython3 import cefpython as cef
0 commit comments