Help with Ticketmaster macro alert

Hello, I have just purchased the premium version to start using macros

I wanted the program to load the website:

https://www.ticketmaster.co.uk/camelphat-all-night-long-manchester-16-11-2024/event/3500611DA28A4827

Select the ‘-‘ button to decrease amount of tickets searched to 1, and then press the ‘Find Tickets’ button. Unfortunately when loaded the macro it gives me the following error below- do you have any idea why?

Many thanks

Code: EMACRO

Msg:

Macro playback failed at step: click. el.click is not a function

@hbirch the error el.click is not a function suggests that the element selected in the page could not be located using the selector. can you export the macro as json and share that here? i wll check it out and get back to you.

1 Like

Thanks for getting back to me, please see below - big thanks for your help.

Unfortunately its not letting me share the file due to being a ‘new user’, would this suffice?

{"macros":[{"meta":{"url":"https://www.ticketmaster.co.uk/black-coffee-london-25-10-2024/event/1F0060E2430388E0","blockAdsAndCookies":true},"name":"Mastercard","spec":{"params":[]},"steps":[["wait_doc",{"frame":0}],["click",{"meta":{},"type":"css","value":"li:first-child .krRPaA [aria-hidden]"},{"x":11.984375,"y":15.1875},{"frame":0}],["click",{"meta":{},"type":"css","value":"li:first-child .krRPaA [aria-hidden]"},{"x":11.984375,"y":15.1875},{"frame":0}],["click",{"meta":{},"type":"css","value":"li:nth-child(3) [data-testid='tselectionSpinbuttonPlus'] [aria-hidden] *"},{"x":14.984375,"y":12.1875},{"frame":0}],["click",{"meta":{},"type":"css","value":".jHTUWf"},{"x":97.09375,"y":1.5},{"frame":0}]],"version":2}]}

thanks, i will check it out. what device did you use to run the monitor using this macro?

there are two problems in the macro:

  1. there were 2 consecutive clicks on the minus button. the second one fails because the button is disabled after the first click.
  2. the last click fails because the element being clicked could not be found in the page. either that element is not present in the page or its selector has changed. was it the plus button? a screenshot of the failed step:
1 Like