Menu

This is documentation for the next version of K6. For the latest stable release, go to the latest version.

Open source

content()

Gets the HTML content of the frame.

Returns

TypeDescription
Promise<string>A Promise that fulfills with the HTML content of the frame as a string value or null if the attribute is not present.