Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Action to Change Website's Default Values

28 views
Skip to first unread message

peter quitzgard

unread,
Mar 20, 2025, 10:58:04 PMMar 20
to AutoControl Community Forum
Hello, I'm currently changing a specific value from a website,
which will be lost after each page's reload, since I'm doing it
through the "inspect" elements tool from the browser. So, I'm wondering
if is there a chance to create an action to override specific values from different
websites, at source level? For example, let's say I want to change the default
value="cats" from this website:


with this one: value="dogs".

So, each time that website loads, that value gets changed

I saw there are some tools that deals with "code injection", but
they aren't working rightly for me. I'm needing to overcome a website
input field's limitation, which truncates values to "11" characters only
(maxlength="11"). I didn't find any other testing website which has that
specific value, but I think you should get the idea.

Thanks.

AutoControl support

unread,
Mar 21, 2025, 5:52:10 AMMar 21
to AutoControl Community Forum
A script similar to this can change those values:

let someElement = document.querySelector("input[name=example-text]")
someElement.value = "dogs"
someElement.maxLength = 10


peter quitzgard

unread,
Mar 22, 2025, 6:03:51 PMMar 22
to AutoControl Community Forum
Thanks a lot. that is working rightly.
Reply all
Reply to author
Forward
0 new messages