seldom icon indicating copy to clipboard operation
seldom copied to clipboard

Seldom automation testing framework based on unittest

Results 110 seldom issues
Sort by recently updated
recently updated
newest added

通过seldom对界面文本框进行键盘操作时,如backspace(),报错“'list' object has no attribute 'send_keys'” ![image](https://user-images.githubusercontent.com/63628218/138803796-fa655186-3c14-4df9-816e-52760b204db2.png) ![image](https://user-images.githubusercontent.com/63628218/138803893-66f57e0a-f836-40c5-adda-29a02986b162.png) 烦请大佬看看。

例如,我有一张图片,当自动化执行某个页面是截图,判断是否等于预期的某个图片。 或者,我有个元素的图片,当自动化执行某个页面时对某个元素截图,判断是否等于预期的元素图片。

![image](https://user-images.githubusercontent.com/68281584/132650312-9369826d-1433-4799-a0e2-478f1c01831c.png) to所跟对象为列表时,发送邮件失败 ![image](https://user-images.githubusercontent.com/68281584/132650373-333f18d2-da08-4227-9286-ee63bace5e46.png)

接口请求 get方式,seldom报错,requests没有报错 ![屏幕截图 2021-09-07 225935](https://user-images.githubusercontent.com/84054856/132367109-b14ca6be-4be5-4400-a3e8-dc2403123e61.png) 这种该如何解决

```shell File "C:\Users\zhongxiaoyue\AppData\Roaming\Python\Python37\site-packages\seldom\webdriver.py", line 512, in get_text log.info("\u2705 {info}, get text: {text}.".format(info=web_elem.info, text=elem.text)) File "C:\Users\zhongxiaoyue\AppData\Roaming\Python\Python37\site-packages\seldom\logging\log.py", line 45, in info _logger.info(Fore.GREEN + now + " [INFO] " + str(msg) + Style.RESET_ALL)...

![QQ图片20210408151131](https://user-images.githubusercontent.com/50908315/113983651-bb428e80-987c-11eb-8b3f-04b7c60a787d.png) 通过流水线方式触发自动会产生编码问题,手动触发则没有该问题。经过排查改动了log.py下的代码。流水线与手动触发均无编码问题产生。 ![QQ图片20210408151026](https://user-images.githubusercontent.com/50908315/113983811-f2b13b00-987c-11eb-9cd5-44e88797367c.jpg)

https://user-images.githubusercontent.com/77383326/105152671-7000c580-5b42-11eb-9678-b02147df6484.png ****2021-01-20 16:59:19 [INFO] ✅ Find element: xpath=//*[@class='close-dlg-btn fv__icon-layer-close-white'] **** 如图:生成的log中,有多余字符串 1)是因为log中进行了输出设置,不同等级的日志,用不同的颜色区别

![image](https://user-images.githubusercontent.com/77383326/123948788-64a8a480-d9d4-11eb-9983-091ed5be4689.png) ![image](https://user-images.githubusercontent.com/77383326/123948842-738f5700-d9d4-11eb-8e9a-d44ec1860629.png) poium 中,为什么Elements 没有timeout参数,而Element有?