如何将API元素与前端UI进行比较?

时间:2018-06-13 12:49:21

标签: selenium-webdriver

selenium是否支持将UI元素与后端API调用进行比较?

示例Json:

{
    "response": {
        "message": "Please provide the valid clientId.We are not able to validate the request.",
        "membershipDetails": null,
        "class": "com.av.sample.UserDetails",
        "code": "COCO23",
        "userInfo": null,
        "success": false
    }
}

如何比较 “代码”:“COCO23”标记显示在 UI界面的前端

0 个答案:

没有答案