Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
请参考以下屏幕截图:
弄清楚如何做到这一点的简单方法是在 Firefox 中打开 Selenium IDE,记录一个您在框中键入一些随机文本的测试,然后将测试用例导出为 Java 代码。这会给你一个工作的例子。