Skip to content

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();
});
});