lnyan commited on
Commit
26cf740
1 Parent(s): 5f69a3a
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -194,6 +194,7 @@ function (x)
194
  {{
195
  console.log(document.querySelector("gradio-app"));
196
  console.log(document.querySelector("iframe"));
 
197
  let frame=document.querySelector("gradio-app").shadowRoot.querySelector("#sdinfframe").contentWindow.document;
198
  let button=frame.querySelector("#{name}");
199
  button.click();
 
194
  {{
195
  console.log(document.querySelector("gradio-app"));
196
  console.log(document.querySelector("iframe"));
197
+ console.log(document.querySelector("#sdinfframe").contentWindow);
198
  let frame=document.querySelector("gradio-app").shadowRoot.querySelector("#sdinfframe").contentWindow.document;
199
  let button=frame.querySelector("#{name}");
200
  button.click();