本帖最后由 leilei6120 于 2024-4-16 17:34 编辑
大神可否给看一下,获取验证码,云码接口返回结果不太对呢,以下是日志结果:
创建变量 返回日志 = [{"执行动作":"点击","元素路径":"//*[@id=\"app\"]/div/div[2]/div/div[2]/div/div/div/div/form/div[1]/div[1]/div/div/div/input","延迟时间秒":1,"状态":"成功"},{"执行动作":"输入","元素路径":"//*[@id=\"app\"]/div/div[2]/div/div[2]/div/div/div/div/form/div[1]/div[1]/div/div/div/input","输入内容":"10047","延迟时间秒":1,"状态":"成功"},{"执行动作":"点击","元素路径":"//*[@id=\"app\"]/div/div[2]/div/div[2]/div/div/div/div/form/div[1]/div[2]/div/div/div/input","延迟时间秒":1,"状态":"成功"},{"执行动作":"输入","元素路径":"//*[@id=\"app\"]/div/div[2]/div/div[2]/div/div/div/div/form/div[1]/div[2]/div/div/div/input","输入内容":"crm01","延迟时间秒":1,"状态":"成功"},{"执行动作":"识别验证码","验证码图片":"//*[@id=\"app\"]/div/div[2]/div/div[2]/div/div/div/div/form/div[1]/div[3]/img","验证码识别状态:":"{\r\n \"code\": 0,\r\n \"data\": \"wqhx\",\r\n \"time\": 0.18267393112182617,\r\n \"externel\": 1,\r\n \"unique_code\": \"64d627b90a9fdf67bf5c15b56bf79100\"\r\n}"}]
验证码输入框里好像没有解析结果,把整个json字符串都放进去了,验证码输入框中自动输入了整个json串:{\r\n \"code\": 0,\r\n \"data\": \"wqhx\",\r\n \"time\": 0.18267393112182617,\r\n \"externel\": 1,\r\n \"unique_code\": \"64d627b90a9fdf67bf5c15b56bf79100\"\r\n}。
|
|