You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the same problem when I try to take a screenshot of the mobile version of the site.
driver.get_screenshot_as_file(file_name) - this method saves a screenshot in one format, and this method stitched_image = Image.new('RGB', (total_width, total_height)) creates a template for a future image in another format (smaller sizes). When this method stitched_image.paste(screenshot) works, then the original screenshot that the driver made is stupidly cut off.
Describe the bug
image not getting capture correctly
Full Image
Horizontal cut
vertical cut
The text was updated successfully, but these errors were encountered: