18 January 2026:


This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.



Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.

Cannot select item from list with spaces

AditeeAditee Members
edited November -1 in Sahi - Open Source
Hi,

When there are spaces or special characters (for example : "    – My Resume") in an item of a web list then

_setSelected doesnot work properly

I tried but could not do. Please suggest.

Aditee

Comments

  • narayannarayan Administrators
    Hi Aditee,

    Could you post the source of the select box with the options?

    As a work around, you can use:

    _setSelected(_select("s3Id"), /- My Resume/);

    Regards,
    Narayan
Sign In or Register to comment.