Skip to content

element.children

Retrieves the children of the element.

  • Returns a promise that resolves to an array of DOMElement instances representing the children of the element.
describe('Test script', function () {
it('Test 1', async () => {
const element = await gf.get('.my-element');
const children = await element.children();
});
});