Share
Go down
sayantan_majumdar
Posts : 3
Join date : 2013-06-10

Does Firefox Webdriver support Auto-complete feature?

on Mon Jun 10, 2013 7:34 pm
Hi,
I was trying to test auto-complete feature in Firefox web driver. However, I found that auto complete feature is not working in Firefox web driver. I am using selenium version 2.31 and firefox browser version in my system is 19.0.2.
The code I was using to execute auto complete is as follows:
----------------------------------------------------------------------------
WebElement elem = driver.findElement(By.name("inputText"));
elem.clear();
elem.sendKeys("Ab");
elem.sendKeys(Keys.DOWN, Keys.ENTER);
-----------------------------------------------------------------------------
Regards,
Sayantan
tarun3kumar
Master
Master
Posts : 186
Join date : 2012-02-14
http://seleniumtests.com

Re: Does Firefox Webdriver support Auto-complete feature?

on Tue Jun 11, 2013 10:07 am
do you see suggestion drop down when WebDriver types "ab" ?

_________________
Thanks
Tarun K
Free Selenium Training
sayantan_majumdar
Posts : 3
Join date : 2013-06-10

Re: Does Firefox Webdriver support Auto-complete feature?

on Tue Jun 11, 2013 12:44 pm
Hi Tarun,
Thanks for your quick reply. No, I am not able to see the suggestions, that's why I think it's not supported by default.
~Sayantan
mail2prassad
Amateur
Amateur
Posts : 41
Join date : 2013-06-05

Re: Does Firefox Webdriver support Auto-complete feature?

on Tue Jun 11, 2013 7:17 pm
Can you see the Autosuggest options when you open the url in Firefox as an end user (not using the firefox driver).
sayantan_majumdar
Posts : 3
Join date : 2013-06-10

Re: Does Firefox Webdriver support Auto-complete feature?

on Tue Jun 11, 2013 7:46 pm
Yes I can see..
mail2prassad
Amateur
Amateur
Posts : 41
Join date : 2013-06-05

Re: Does Firefox Webdriver support Auto-complete feature?

on Tue Jun 11, 2013 9:33 pm
Try upgrading selenium to 2.33, update the firefox to the latest version.
Sponsored content

Re: Does Firefox Webdriver support Auto-complete feature?

Back to top
Permissions in this forum:
You cannot reply to topics in this forum