Robot Framework 中的 Selenium 关键字

Selenium keywords in Robot Framework

使用 this 解决方案,我可以将 Selenium 命令映射到 Robot Framework 关键字。它运作良好。但我认为不可能在格式化程序中映射所有 selenium 关键字。如何在 Robot Framework 中调用 Selenium 命令?在已弃用的库 SeleniumLibrary 中,我可以调用关键字 Call Selenium Apoi。 Selenium2Library 有解决方案吗?

我想要此功能来记录使用 Selenium 的 Robot Framework 测试 IDE。

Selenese转RF+Selenium2Library有一些解决方案

这是一个 Python 转换器,Se-IDE-format-to-Robot-Framework

这是一个 Selenium IDE 文件导出器 Robot-Framework-Formatter

它做了你想要的映射,你可以使用资源文件扩展它。如果你能提出更多的硒化映射就好了(PR)