TestLabel
TestHeadline
{"ScriptPreparationCode":null,"TestCases":[{"Name":"innerHTML","Code":"const adCont = document.querySelector(\u0022.adCont\u0022);\r\nconst obj = {\r\n width: 300,\r\n height: 250,\r\n entryPoint: \u0022./path/to/iframe.html\u0022,\r\n};\r\nadCont.innerHTML = \u0060\u003Ciframe width=\u0022${obj.width}\u0022 height=\u0022${obj.height}\u0022 src=\u0022${obj.entryPoint}\u0022\u003E\u003C/iframe\u003E\u0060;\r\n","IsDeferred":false},{"Name":"replaceChildren","Code":"const adCont = document.querySelector(\u0022.adCont\u0022);\r\nconst obj = {\r\n width: 300,\r\n height: 250,\r\n entryPoint: \u0022./path/to/iframe.html\u0022,\r\n};\r\nconst ADiframe = document.createElement(\u0022iframe\u0022);\r\nADiframe.width = obj.width;\r\nADiframe.height = obj.height;\r\nADiframe.src = obj.entryPoint;\r\nadCont.replaceChildren(ADiframe);\r\n","IsDeferred":false}]}