For AI agents: the documentation index is at https://frontend-tools.coherent-labs.com/llms.txt, listing every page as Markdown; the full text is at https://frontend-tools.coherent-labs.com/llms-full.txt.
Skip to content
SiteEmail

element.getInnerHTML

Retrieves the inner HTML of the element.

  • Returns a promise that resolves to the inner HTML of the element.
describe('Test script', function () {
it('Test 1', async () => {
const element = await gf.get('.my-element');
const innerHTML = await element.getInnerHTML();
});
});