taiko
taiko copied to clipboard
Taiko is unable to identify the selector although the highlight API shows it on the screen
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:
- Opened up up my testing website which is internal
- Navigated to the screen successfully using the Taiko APIs through the REPL window
- Now when I am on the screen and use the following command, highlight(dropDown(),toRightOf('Address Type')) [PASS] Highlighted the
- When I try the following as the next step, focus(dropDown(),toRightOf('Address Type')) [PASS] Focussed on the
- 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
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.