最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

java - Issue with Parallel Execution in Selenium Grid - Stack Overflow

programmeradmin5浏览0评论

I am posting this to seek a solution as soon as possible.

We are in the final stages of our project, but we are facing an issue with parallel execution both locally and on the Selenium Grid. The problem is that credentials are being entered into a single browser tab while the other tab remains idle, causing our test cases to fail.

For example, when running parallel tests on multiple classes with threadCount=2, sometimes both test classes launch the website in separate tabs. However, the credentials are getting entered into the same tab instead of the respective ones, leaving the second tab inactive. As a result, both test cases fail.

How can we resolve this issue while running tests in parallel? Any help would be greatly appreciated.

发布评论

评论列表(0)

  1. 暂无评论