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

Taiko is unable to identify the selector although the highlight API shows it on the screen #2704

Open
harimadusumilli opened this issue Apr 19, 2023 · 1 comment

Comments

@harimadusumilli
Copy link

Describe the bug
I am using the REPL Window of Taiko and I am able to identify the dropdown element by using the highight() API. When I try to focus on the element and select the value from the drop down it states that
dropDown().select("Billing")
Uncaught Option Billing not available in drop down

To Reproduce
Steps (or script) to reproduce the behavior:

  1. Opened up up my testing website which is internal
  2. Navigated to the screen successfully using the Taiko APIs through the REPL window
  3. Now when I am on the screen and use the following command,
    highlight(dropDown(),toRightOf('Address Type'))
    [PASS] Highlighted the
  4. When I try the following as the next step, focus(dropDown(),toRightOf('Address Type'))
    [PASS] Focussed on the
  5. Now when I try and execute the following, I get the following exception
    dropDown().select("Billing")
    Uncaught Option Billing not available in drop down

Expected behavior
Taiko should be able to click the drop identified dropdown as identified in teh visual display of highlight API

Screenshots
Attached are the screen shots

Versions:

Microsoft\Edge\Application\msedge.exe)
Microsoft Windows [Version 10.0.19044.2728]
C:>node -v
v16.14.0

@harimadusumilli
Copy link
Author

I am unfortunately not able to upload the screen shot, I am getting errors on git. SO , not sure what would be a good way for you to get more information on this. I will try again later.

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

No branches or pull requests

1 participant