taiko icon indicating copy to clipboard operation
taiko copied to clipboard

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

Open harimadusumilli opened this issue 1 year ago • 1 comments

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 avatar Apr 19 '23 17:04 harimadusumilli

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.

harimadusumilli avatar Apr 19 '23 17:04 harimadusumilli