{"ScriptPreparationCode":"window.BaseLinkElement = document.createElement(\u0027a\u0027);\r\nBaseLinkElement.target = \u0022_blank\u0022;\r\n\r\nwindow.LinkTemplate = document.createElement(\u0027template\u0027);\r\nLinkTemplate.innerHTML = \u0022\u003Ca target=\u0027_blank\u0027\u003E\u003C/a\u003E\u0022;","TestCases":[{"Name":"Create new element from scratch","Code":"let a = document.createElement(\u0027a\u0027);\r\na.href = \u0022my_custom_link\u0022;\r\na.textContent = \u0022my_custom_text\u0022;","IsDeferred":false},{"Name":"Clone element and change","Code":"let a = window.BaseLinkElement.cloneNode(true);\r\na.href = \u0022my_custom_link\u0022;\r\na.textContent = \u0022my_custom_text\u0022;","IsDeferred":false},{"Name":"Clone template content and change","Code":"let a = window.LinkTemplate.content.cloneNode(true);\r\na.href = \u0022my_custom_link\u0022;\r\na.textContent = \u0022my_custom_text\u0022;","IsDeferred":false},{"Name":"Clone template and use its content","Code":"let a = window.LinkTemplate.cloneNode(true).content;\r\na.href = \u0022my_custom_link\u0022;\r\na.textContent = \u0022my_custom_text\u0022;","IsDeferred":false}]}