Search found 3 matches

by gheasman
Fri Jun 11, 2021 2:06 pm
Forum: General Support & Discussions
Topic: Unable to interact with shadow dom using JavaScript
Replies: 5
Views: 3343

Re: Unable to interact with shadow dom using JavaScript

Running a more simple command like window.scrollBy() worked, so I wonder if there's something wrong with the formatting of my JavaScript. To test I decided to format the string manually, wrap it in a function called changeLang() and put it in to the URL command which made iMacros get stuck while att...
by gheasman
Fri Jun 11, 2021 1:20 pm
Forum: General Support & Discussions
Topic: Unable to interact with shadow dom using JavaScript
Replies: 5
Views: 3343

Re: Unable to interact with shadow dom using JavaScript

Apologies for the missing info.

iMacros for Chrome version: 10.1.1
iMacros for Firefox version: 10.1.0.1485

I tried escaping the single quotes in the JavaScript code and fixing the "CODE:" statement and that hasn't worked :( . I'll give running a more simple script a try now.
by gheasman
Fri Jun 11, 2021 10:04 am
Forum: General Support & Discussions
Topic: Unable to interact with shadow dom using JavaScript
Replies: 5
Views: 3343

Unable to interact with shadow dom using JavaScript

Hi, I'm using iMacros to interact with a website that contains a Shadow Dom to display the site header. I was unable to get iMacros to interact with the shadow dom in chrome or firefox using standard commands so I turned to writing a javascript function to do it. However the URL GOTO=javascript comm...