Select from dropdown in selenium-webdriver javascript

146 views
Skip to first unread message

mathew kuruvila

unread,
Sep 21, 2020, 11:58:14 PM9/21/20
to Selenium Users
How to select a value from drop down using selenium-webdriver JavaScript bindings. I do see that Select is available in Java. I have seen similar option in C# also. Couldn't find anything in JavaCcript to handle select option. Any help will be appreciated. 

Josh Abrahamsen

unread,
Sep 22, 2020, 12:07:48 AM9/22/20
to seleniu...@googlegroups.com

On Mon, Sep 21, 2020, 10:58 PM mathew kuruvila <kuruvil...@gmail.com> wrote:
How to select a value from drop down using selenium-webdriver JavaScript bindings. I do see that Select is available in Java. I have seen similar option in C# also. Couldn't find anything in JavaCcript to handle select option. Any help will be appreciated. 

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/faff2baf-2d7f-4153-ac8d-7019facae7b6n%40googlegroups.com.

mathew kuruvila

unread,
Sep 22, 2020, 12:22:35 AM9/22/20
to Selenium Users
Only examples are missing, right? Are you sure it is not implemented in JavaScript binding. 

mathew kuruvila

unread,
Sep 23, 2020, 12:56:16 AM9/23/20
to Selenium Users
It seems Select is not implemented in Javascript Bindings. Please correct me if i am wrong.

ddlionx

unread,
Sep 23, 2020, 3:15:31 AM9/23/20
to seleniu...@googlegroups.com

mathew kuruvila

unread,
Sep 24, 2020, 7:00:36 AM9/24/20
to Selenium Users
Let me try it then. Thanks Mate

Adrian

unread,
Sep 25, 2020, 5:01:39 AM9/25/20
to Selenium Users
If it doesn't work Mathew, then pleas provide a pic of the DOM of the select list.  There are other ways of accessing it.
The project I work on has select list that I have not seen at other projects that I have worked on.


Regards,
Adrian.

mathew kuruvila

unread,
Sep 25, 2020, 7:43:54 PM9/25/20
to Selenium Users
Thanks Adrian. Will get back to you, if I face issues with Select drop down.

Thanks
Mathew

mathew kuruvila

unread,
Sep 29, 2020, 7:21:00 AM9/29/20
to Selenium Users
DoSelect API is more of like old Selenium RC api[Before webdriver]
Reply all
Reply to author
Forward
0 new messages