Improve boolean handling
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- python
- 领域
- testing-qa
调研方向
从 issue 中所示的 set_ignore_implicit_angular_wait 方法开始,然后阅读 SeleniumLibrary 的 types.py 以及其布尔参数文档。确认支持的布尔值,以及项目是否可以使用 SeleniumLibrary 3.0;当此设置接受预期的布尔形式并一致地拒绝无效值时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
In library there is this code:
def set_ignore_implicit_angular_wait(self, ignore):
if not is_boolean(ignore):
raise TypeError("Ignore must be
But it might be better to use Robot Framework or SeleniumLibrary is_truthy method to improve boolean handling. SeleniumLibrary method is in here: https://github.com/robotframework/SeleniumLibrary/blob/master/src/SeleniumLibrary/utils/types.py
And it has been there since 3.0 release.
SeleniumLibrary boolean handling is explained in here: http://robotframework.org/SeleniumLibrary/SeleniumLibrary.html#Boolean%20arguments
I can provide you a pull request to fix the problem. Should I copy paste the implementation or can I use method from the SeleniumLibrary? If I can, it will raise minimum required SeleniumLibrary to 3.0.
- 主要语言
- Python
- 星标
- 33
- 派生
- 20
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
MarketSquare/robotframework-angularjs 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 25/100
MarketSquare/robotframework-angularjs#35 · 1 个 reaction ·
-
难度 1/5 1 小时以内 新手友好度 52/100
-
难度 2/5 1-3 小时 新手友好度 35/100
查看 MarketSquare/robotframework-angularjs 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 75/100
stephrobert/dsoxlab#238 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 75/100
sublimehq/package_control#1780 ·
-
难度 2/5 1-3 小时 新手友好度 65/100
-
难度 2/5 1-3 小时 新手友好度 70/100
nwg-piotr/nwg-displays#145 ·