This patch release improves the Playwright compatibility, fixes a few more bugs, and makes extension-wide internal improvements.
Playwright Compatibility
-
Update the flags for launching Chrome. (#148)
Improves the compatibility between xk6-browser and Playwright by updating flags that are internally used when launching a Chrome browser. See the issue for details.
-
Rename
Page.BrintToFront
toPage.BringToFront
. (#131)
Bugs fixed
-
Fix nil interface conversion error in
Frame.document()
. (#149)Since
Frame.document()
is being used by a lot of other functions, this change possibly fixes known and other unknown bugs that may exist inPage.$
,Page.$$
,Frame.Query
,Frame.QueryAll
,Frame.WaitForSelector
, and many other functions. -
Fix special characters not working bug. (#134)
-
Fix parsing of custom remote objects. (#130)
Improvements
-
Improve handling of special characters. (#134)
Some characters can only be produced with special key combinations. For example:
@
can only be produced whenShift
and2
keys are pressed together. This change fixes some missing and incorrect characters in the US keyboard layout, adds shift key detection, improves the error messages, and increases the maintainability of the input handling. -
Improve log handling across the extension components for ease of debugging. (#131)
This change adds log calls to nearly every component across the extension and uses the same logger instance by passing it to a chain of components while launching a browser process.
-
Improve handling and parsing of custom remote objects. (#130)
This change converts remote objects to JSON for producing a safe output when they are used within
console.log()
orEvaluate
calls.