Trying to manage cookies

Context
some websites, feel like they are forcing acceptance of cookies by requiring very large numbers of "legitimate interest checkboxes to be clicked off"
I tried my first window & mouse control macro, to make it simpler.

  • Repeat until
  • look for checkbox
  • move mouse cursor slightly to left & click off

Not entirely sure, whether this is a question, suggestion or just demonstrating I haven't fully grasped the terminology

DoNotConsent.kmmacros (10.9 KB)
is my workaround

DoNotConsent 2.kmmacros (14.8 KB)
is how I hoped it would work!

Is the problem that the control loop is only looking at the screen, AND "screen" is only the visible portion of the window?

Am I not finding the right control?
my workaround means I have to scroll down to the bottom manually (a marked improvement on multiple mouse clicks)
I was rather hoping to have the macro scroll all the way down, but simulating mouse scrolling didn't appear to make any difference.

If it isn't currently a feature is it possible for the cursor to be moved down within the window rather than the screen?

I think the problem you are having is that you didn't place a pause between the mouse click and the condition test at the end of the macro.

But try this instead. It's simpler. (I didn't test it, because I don't know your URL.)

image

Just make sure you uncheck the two error options on the cogwheel of the Mouse action.