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

[Bug]: User Added Options are not working properly #1598

Closed
MustafaAgamy opened this issue Apr 21, 2024 · 1 comment · Fixed by #1601
Closed

[Bug]: User Added Options are not working properly #1598

MustafaAgamy opened this issue Apr 21, 2024 · 1 comment · Fixed by #1601
Assignees
Labels
bug Something isn't working triage needs to be looked at

Comments

@MustafaAgamy
Copy link
Contributor

Describe the bug

The "Enable BiDi" flag is opening new tab which is creating conflicts with added options

Link to SHAFT_Engine Console logs

Console logs link

Link to SHAFT_Engine Extent Report HTML

N/A

Environment

  1. SHAFT_Engine version that exhibits the issue (Note: We support only the latest release):[8.2.20240411]
  2. Last SHAFT_Engine version that did not exhibit the issue (if applicable):
  3. Desktop OS: [e.g. iOS] Windows
  4. Desktop Browser (if applicable): [e.g. chrome, safari] Chrome/Edge
  5. Desktop Browser Version (if applicable): [e.g. 22] N/A

To Reproduce

Steps to reproduce the behavior:

  1. Add this code to your SHAFT setup code :
    ChromeOptions options = new ChromeOptions();
    options.addArguments("--incognito");
    driver.set(new SHAFT.GUI.WebDriver(DriverFactory.DriverType.CHROME, options));
  2. Launch the Test
  3. See error

Expected behavior

The custom added options to your Driver should be added successfully

Screenshots

screen-capture.18.webm

Additional context

This bug can be fixed by setting the Enable BiDi flag to false which won't open the BiDi Mapper Tab which will remove the conflict

@MustafaAgamy MustafaAgamy added bug Something isn't working triage needs to be looked at labels Apr 21, 2024
@MustafaAgamy MustafaAgamy changed the title [Bug]: [Bug]: User Added Options are not working properly Apr 21, 2024
@MustafaAgamy MustafaAgamy linked a pull request Apr 22, 2024 that will close this issue
@MohabMohie
Copy link
Contributor

the user can be advised to disable BiDi since this flag is configurable. there is no need to treat this as a SHAFT bug since it is the expected behavior for Selenium WebDriver.

@MohabMohie MohabMohie closed this as not planned Won't fix, can't repro, duplicate, stale Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage needs to be looked at
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants