<svg viewBox="0 0 24 24" style="display: inline-block; fill: rgb(224,    224, 224); height: 24px; width: 24px; transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms; position: absolute; right: 0px; top: 14px; -webkit-user-select: none;"><path d="M7 10l5 5 5-5z"></path></svg>

You can find the page at: apply.autogravity.com. The page doesn't use the typical 'select' element found on other websites. Any help would be great.

share|improve this question

bumped to the homepage by Community 2 mins ago

This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.

    
FYI: I've attempted using the select method and can't capture anything. I've also attempted the container option, but i can't capture anything since, the drop down options are not inside the svg view box element. I can only get so far as to click the drop down arrow, but i cannot get it to hover to any value as well. – Punns Aug 8 '16 at 19:32
1  
where is your code? what exception(s) did you get? – Yu Zhang Aug 8 '16 at 21:44
    
I don't get exception, it just cannot find the elements. Here is a sample: Actions move = new Actions(instance); move.moveToElement(di().findElement(By.("Honda"))).click()‌​.build(); this is my move mouse to method – Punns Aug 8 '16 at 23:56
    
The dropdown names like 'Honda' are being saved as 'div' elements. i attempted to read the page source and find the div, but it doesn't find it either – Punns Aug 9 '16 at 0:03
    
Pls accept the most helpful answer, So question will not be in Active queue for long – NarendraC Jan 6 at 13:04

Solution:

WebElement listbox_webelement =
drive.findElement(By.xpath("write_your_xpath_of_element"));


listbox_webelement.click() [ Expected to list get visible ]



   Select select = new Select(listbox_webelement);


   select.sendKeys("Text_From_Your_Listbox");
                  OR


   listbox_webelement.sendKeys("Text_From_Your_Listbox");
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.