Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

how to import Select class in webdriver javascript

I am trying to use Select in my code to interact with a dropdown, i tried importing Select from "selenium-webdriver" package but it does not work. all the results i get when searching about it lead to python codes importing Select from selenium-webdriver.support.ui package which i’m not able to find in javascript package. Any help in how to import Select class into js code would be very much appriciated 😉

>Solution :

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

There is no select class in Selenium JS. Your best bet is to click on the element, and once it is visible, select by clicking on it.

Select from dropdown in selenium-webdriver javascript

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading