@serenity-is/corelib / addOption

Function: addOption()

addOption(select, key, text): void

Defined in: src/compat/html-compat.ts:14

Adds an option to the select.

Parameters

select

HTMLSelectElement | ArrayLike<HTMLElement>

key

string

text

string

Returns

void