nemo-page
Version:
View Interface for nemo enhanced with nested locators and collection mechanics.
50 lines (45 loc) • 986 B
JSON
{
"_base": {
"locator": "#base1",
"type": "css"
},
"form": {
"_model": "object",
"_base": {
"locator": "#base2",
"type": "css"
},
"input1": {
"_model": "input",
"locator": "input[name='input1']",
"type": "css"
},
"input2": {
"_model": "input",
"locator": "input[name='input2']",
"type": "css"
}
},
"list": {
"_model": "array",
"_itemModel": "object",
"_itemsLocator": {
"locator": "#list1 li",
"type": "css"
},
"part1": {
"locator": "list-part-1",
"type": "css"
},
"part2": {
"locator": "list-part-2",
"type": "css"
}
},
"attr": {
"_model": "attribute",
"_attribute": "attr",
"locator": "#attr",
"type": "css"
}
}