return CssUtils.isVisible(domInspectorIframe);
}
private void onDomInspectorIframeLoaded() {
// <link href="test.css" rel="stylesheet" type="text/css">
LinkElement linkElement = Elements.getDocument().createLinkElement();
linkElement.setRel("stylesheet");
linkElement.setType("text/css");
linkElement.setHref("/static/dominspector_css_compiled.css");
Elements.getHead(domInspectorIframe.getContentDocument()).appendChild(linkElement);
ScriptElement scriptElement = Elements.getDocument().createScriptElement();
scriptElement.setSrc("/static/dominspector_js_compiled.js");
Elements.getBody(domInspectorIframe.getContentDocument()).appendChild(scriptElement);