there is no select in departure city.
you have to use something like this
[code:1fypl3ze]driver.findElement(
By.xpath("//*[@id='widget_row']/div[1]/div/div[3]/div/div[4]/div[1]/div[1]/div/span[2]/input"))
.sendKeys("Chandigarh");
;Thread.sleep(2000);
driver.findElement(
By.xpath("//*[@id='widget_row']/div[1]/div/div[3]/div/div[4]/div[1]/div[1]/div/span[2]/input"))
.sendKeys(Keys.RETURN);
[/code:1fypl3ze]
Can you please help me in identifying size of combo & its values using
driver.findElement(
By.xpath("//*[@id='widget_row']/div[1]/div/div[3]/div/div[4]/div[1]/div[1]/div/span[2]/input"))
.sendKeys(Keys.RETURN);
[quote:35ymi2eq]Can you please help me in identifying size of combo & its values using [/quote:35ymi2eq]
i didn't get you.
In this scenario, how to identify size of combo and print all values in combo?
cannot be done in listbox.
and in from you will have click the dropdown first and then getText.