I have noticed from other forum posts that there is a problem with clicking checkboxes
The site im accessing is https://asce7hazardtool.online/ and trying to click the wind checkbox
I have tried BringBrowserToForground, record option, xpath @type checkbox. nothing seems to be working
{
“Command”: “click”,
“Target”: “xpath=(//input[@type=‘checkbox’])[${Var}]”,
“Value”: “”
}
{
“Command”: “bringBrowserToForeground”,
“Target”: “”,
“Value”: “”
},
{
“Command”: “open”,
“Target”: “https://asce7hazardtool.online/”,
“Value”: “”
},
{
“Command”: “type”,
“Target”: “id=Wind”,
“Value”: “on”,
“Targets”: [
“id=Wind”,
“xpath=//[@id="Wind"]",
“xpath=//input[@id=‘Wind’]”,
“xpath=//div[2]/p/input”,
“css=#Wind”
]
},
{
“Command”: “click”,
“Target”: "xpath=//[@id="criteria"]/div[2]/div[4]/div[2]/p/label”,
“Value”: “”,
“Targets”: [
“xpath=//[@id="criteria"]/div[2]/div[4]/div[2]/p/label",
“xpath=//div[2]/p/label”,
“css=#criteria > div.criteria-container__content.white.margin–small > div:nth-child(4) > div.flex.flex-row.flex-wrap.padding–small > p:nth-child(1) > label”
]
},
{
“Command”: “click”,
“Target”: “id=Wind”,
“Value”: “”,
“Targets”: [
“id=Wind”,
"xpath=//[@id="Wind"]”,
“xpath=//input[@id=‘Wind’]”,
“xpath=//div[2]/p/input”,
“css=#Wind”
]
}