1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-24 12:47:34 +00:00
serenity/Userland/Libraries/LibWeb/WebDriver
Andrew Kaster cb68c6eaf1 LibWeb: Set size of canvas used to take WebDriver screenshots explicitly
The default canvas size is 300x150 pixels. If the element or document
we are trying to screenshot for the WebDriver is not at least that size,
then we will create a canvas that is wider or taller than the actual
element we are painting, resulting in a bunch of transparent pixels
falling off the end.

This fixes 14 WPT css/CSS2/floats tests that we run in CI, and
presumably a ton of other reftests in the WPT test suite.
2024-02-21 10:10:44 +01:00
..
Capabilities.cpp LibWeb: Stub out WebDriver deserialize as a proxy capability AO 2024-02-12 11:43:22 -07:00
Capabilities.h
Client.cpp LibWeb: Hide WebDriver::match_route debug behind its own flag 2024-02-08 15:53:46 +01:00
Client.h
Contexts.cpp LibWeb+WebContent: Convert WebDriver to choose a navigable AO 2024-02-05 08:05:48 -07:00
Contexts.h
ElementLocationStrategies.cpp
ElementLocationStrategies.h
Error.cpp
Error.h
ExecuteScript.cpp LibWeb: Make WebDriver check if the BC's navigable has been destroyed 2024-02-06 08:40:27 +01:00
ExecuteScript.h
Response.cpp
Response.h
Screenshot.cpp LibWeb: Set size of canvas used to take WebDriver screenshots explicitly 2024-02-21 10:10:44 +01:00
Screenshot.h
TimeoutsConfiguration.cpp AK+Everywhere: Remove JsonValue APIs with implicit default values 2024-01-21 15:47:53 -07:00
TimeoutsConfiguration.h