即使安装了 robotsframework 和 robotsframework-seleniumlibrary 库它显示没有模块找到错误。如果我执行 pip list 我可以看到列出的库。
Unresolved library: Seleniumlibrary.
Error generating libspec:
Importing library 'Seleniumlibrary' failed: ModuleNotFoundError: No
module named 'Seleniumlibrary'
Consider adding the needed paths to the "robot.pythonpath" setting
and calling the "Robot Framework: Clear caches and restart" action.
应该是
SeleniumLibrary
(大写 L)而不是 Seleniumlibrary
(小写 l)