AppleScript error with webpage button

New to AppleScript. not sure if this is an error with the script or the action. any help is appreciated.

Execute an AppleScript.kmactions (955 Bytes)

tell application "Safari"
	activate
	open location "https://calimoto.com/en/motorcycle-trip-planner"
	delay 10
	tell application "System Events"
		click button "Rides" of group 1 of group 1 of UI element 1 of scroll area 1 of window 1 of process "Safari"
	end tell
end tell

I added the AppleScript to your post.

You can do this with native Keyboard Maestro actions:

image