export function getElement(value: string, uniqueAttribute: string, parent: HTMLElement = document.body): HTMLElement | null { return parent.querySelector(`[${uniqueAttribute}="${value}"]`) as HTMLElement; }