任务是使用 selenium RC 和 java 检查网页上的损坏链接。它可以简单地通过
a) click on link A
b) wait for page to open
c) focus on this window
d) verify text present on this page
e) Close this window
然后按照步骤 a 到 e 获取链接 B 、链接 C .... 链接 N
这个过程是连续的。
是否可以在新窗口中并行打开所有链接并验证它们是否损坏,即更专业的方式?
请提供建议(如果可能,请提供代码示例)