Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Execution on SeleniumHQ Remote browser redirecting to a different than requested. #442

Open
3 of 5 tasks
sravan-jessu opened this issue May 25, 2023 · 2 comments
Open
3 of 5 tasks

Comments

@sravan-jessu
Copy link

QAF Version

Note: only the latest version is supported.

Steps To Reproduce

1. Create a maven project, add required QMetry QAF and selenium-java (V4.2.2) dependencies. 
2. Create sample test to navigate any open public site
3. Start execution on Selenium HQ Chrome and Microsoft Edge Remote browsers. 

Expected behavior

When execution started with on Selenium HQ remote Microsoft Edge browser, test should start on the same browser.

Actual behavior

We are executing tests in selenium HQ with few capabilities, even though the capabilities are correct few times instead of selecting browser based on the capability's client send it is attempting the tests in a different browser. The actual capability after driver gets created are with a different browser than what client requested for.

The redirecting of browser is happening after connection to selenium hq is happened. So, we are thinking it's not our code issue. Same code works fine at times. but when we run multiple tests (capabilities client passes looks good) instead of desired browser other browser is being set for execution. And getting hung from there.

Is the issue reproducible on runner?

  • QAS
  • Maven
  • Gradle
  • Ant
  • Eclipse

Test case sample

we are seeing this behavior for any sample URL navigate case, so create a sample test to navigate and try to start test execution on Selenium HQ Chrome, Microsoft Edge remote browsers.

@sravan-jessu
Copy link
Author

We have also observed this browser redirection issue with base quantum project. could someone assist with this issue?

@cjayswal
Copy link
Member

Will you be able to provide everything that is necessary for someone else to reproduce the issue? Please refer http://sscce.org/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants