How to write a code for combo box and how can i select a country from country dropdown?

0 votes

Hi,
I want to select a country from country combobox, i tried with Select class but it is not working, can you please tell me what is the code for that?

Mar 14 in Selenium by ch Praveen
358 views
Sure..do share the website link where you tried this..

No answer to this question. Be the first to respond.

Please log in or register to answer this question.

Related Questions In Selenium

0 votes
1 answer
0 votes
1 answer

How can I send some data to a Prompt Alert box using Selenium Webdriver?

Hey Abhishek, you can use sendKeys() method ...READ MORE

answered Jul 2 in Selenium by Abha
• 22,960 points
56 views
0 votes
1 answer
0 votes
1 answer

How can I select date from a datepicker div using Selenium Webdriver?

Hey Jeevika, you can use following automation ...READ MORE

answered Jul 15 in Selenium by Abha
• 22,960 points
60 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

How can I select a particular node within the XPath node sets by index?

There is no concept of 'i' in ...READ MORE

answered Apr 20, 2018 in Selenium by king_kenny
• 3,650 points
403 views
0 votes
1 answer

How to I switch to a new window for links with “blank” targets using Capybara?

Capybara 2.3 includes the new window management ...READ MORE

answered Jul 11, 2018 in Selenium by Meci Matt
• 9,420 points
390 views