Variable
变量可以增强脚本的灵活性以及扩展性,可以动态控制脚本的运行
脚本示例
step = [{
"method": "redirect",
"url": "https://www.baidu.com/",
}, {
"method": "input",
"xpath": "//*[@id=\"kw\"]",
"text": "__v-searchKey__",
"if": {
"condition": "presence",
"xpath": "__v-button_xpath__"
}
}, {
"method": "clear"
}]实现你自己的variable对象
内置variable对象
最后更新于