Can't do anything inside browser

Hi all, very new to KM - hoping you can help!

I have a very particular set of steps I'd like to carry out for a client. I have never used KM before and am also not familiar with Apple generally. So, any help massively appreciated.

I have tried in both Chrome and Safari. The automation is very simple - it's just: Click the link with xpath: /html/body/main/div[2]/div[3]/div/div[4]/div[1]/p/span/a - I then want it to watch for a change in a header, but I haven't got past the first step yet.

For this, I have tried the Action 'Click Google Chrome Link'. I also tried 'Click Safari Link'. Neither worked.

Some forum posts suggested I use Javascript to grab the xpath, store as a variable and follow the URL.

Neither methods have worked for me.

I then went on to test a much more simple action, a simple JS alert for 'Hello world' - and I can't even get that to work.
I suspect as I can't get it to interact with the browser whatsoever, that there may be a setting I am missing somewhere, either a browser setting or perhaps a Mac setting.

It's worth mentioning I can get some macros to run, a simple test to open the Calculator app worked fine, as did a move mouse and click action.

Any help, greatly appreciated :slight_smile: I'm sure it's something very simple to overcome but I just can't get it to do anything within the browser.

1 Like

Have you enabled "Allow JavaScript from Apple Events" in Safari and Chrome? See this page for more.

1 Like

Such a simple solution - worked perfectly thanks!