德国图书馆
robotframework_germaniumlibrar的Python项目详细描述
锗的RobotFramework绑定。在
安装
pip install robotframework-germaniumlibrary
关键字列表
- 使用selenium浏览器
- 打开浏览器
- 关闭浏览器
- 最大化窗口
- 点击
- 双击
- 悬停
- 右键单击
- 转到
- 键入键
- 键入键
- 拖放
- 按索引选择
- 按文本选择
- 按值选择
- 按索引取消选择
- 按文本取消选择
- 按值取消选择
- 选择文件
- 断言存在
- 缺少断言
独立使用示例(推荐)
^{pr2}$硒的使用
要使用selenium的浏览器,请指示Germanium在之后使用它 使用Use Selenium Browser关键字实例化它。在
*** Settings ***LibrarySeleniumLibraryLibraryGermaniumLibrary*** Test Cases ***This is a test case to show usage with the SeleniumLibrarySeleniumLibrary.Open Browserhttps://germaniumhq.comchromeGermaniumLibrary.Use Selenium BrowserGermaniumLibrary.Maximize WindowGermaniumLibrary.ClickLink("Log In")GermaniumLibrary.Type Keys InInput().right_of(Text("Email"))someuserGermaniumLibrary.Assert ExistsInput()GermaniumLibrary.Assert MissingText("eeee")SeleniumLibrary.Close Browser
- 项目
标签: