Need help automating GUVI video and quiz flow

{
“Name”: “GUVI_AutoCourse”,
“CreationDate”: “2025-12-25”,
“Commands”: [
{
“Command”: “open”,
“Target”: “https://www.guvi.in/learn/c-programming”,
“Value”: “”
},
{
“Command”: “click”,
“Target”: “xpath=//button[contains(text(),‘Play’)]”,
“Value”: “”
},
{
“Command”: “waitForElementPresent”,
“Target”: “xpath=//video”,
“Value”: “600”
},
{
“Command”: “pause”,
“Target”: “600000”,
“Value”: “”
},
{
“Command”: “click”,
“Target”: “xpath=//div[contains(@class,‘quiz-question’)]//input[@type=‘radio’][1]”,
“Value”: “”
},
{
“Command”: “click”,
“Target”: “xpath=//button[contains(text(),‘Submit’)]”,
“Value”: “”
},
{
“Command”: “click”,
“Target”: “xpath=//button[contains(text(),‘Next’) or contains(text(),‘Continue’)]”,
“Value”: “”
},
{
“Command”: “repeatIf”,
“Target”: “true”,
“Value”: “”
}
]
}