AirtestProject / AirtestProject/Airtest

使用相对路径选择图片定位时, logtohtml方法报错

Open
#1,028 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
9.6k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

win10 ,
airtest 版本1.2.4 ,
python3.9 ,
使用pycharm运行 ,

在操作的时候如果使用了相对路径 , 在生成报告的时候就会出错
使用绝对路径可以正常生成报告

![image](https://user-images.githubusercontent.com/100344368/155489380-cf07b3c2-b8f9-413c-9341-3cd9d86a32c1.png)
![image](https://user-images.githubusercontent.com/100344368/155489439-d4f0f9e3-8002-4766-bc78-b152b4ccaa36.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.