Trouble Using Safari Controls to Click Through COVID Registration Forms

The page at https://www.kingsoopers.com/rx/covid-eligibility leads through a long series of buttons and pop-up menus before you can find out if vaccinations are available in your area. Is there a way to have KM's Safari controls click through these items, without resorting to "Click at Found Image" actions?

The way this page is constructed makes found image actions very unreliable, and often unrepeatable!

Thanks,
Russell

Hey Russell,

It's difficult to say without extensive testing...

The first “I Agree” button on the page you provided can be clicked like this with a Execute a JavaScript in Front Browser action:

document.querySelector('.kds-Button.kds-Button--primary.ac-pushButton.healthbot-card-action-button').click()

If they're not changing up the code, you can probably construct one or more Execute a JavaScript actions to do the job.

Here's an example of how to wait until a web element exists before continuing:

Macro: Pause Until Web Page Element Exists [Example]

Good luck.

-Chris

Thanks, Chris. It's turned out to be much more involved than I expected. Someone on the Automators forum suggested the app, "Fake," but I've already spent enough time on this. I might give their free trial a spin, though.

Best,
Russell

Don't bother. It's too complicated and hasn't been updated in over 4 years.

-Chris

1 Like