Display results as :

Rechercher Advanced Search

Latest topics
» how to connect DB in selenium webriver
Fri Oct 06, 2017 4:09 pm by anbarasi

» How find any text in browser screen and click on it?
Thu Oct 05, 2017 2:02 pm by sandeepkommineni

» Selenium Webdriver
Tue Oct 03, 2017 1:35 pm by PiyushBiswas

» GRID setup tutorial.
Wed Sep 27, 2017 4:29 pm by johnyapp

» Drag & Drop Between Windows Using Selenium Driver
Wed Sep 27, 2017 2:10 pm by 26rondel

» Check if window is closed / verify input
Sat Sep 23, 2017 10:21 pm by brainstir

» How to work on pages with AJAX in selenium?
Mon Sep 18, 2017 6:08 pm by azharuddin

» pause test until user press a key like F2
Wed Aug 09, 2017 11:10 pm by djnforce

» Selecting the input for auto populating element
Sat Jul 29, 2017 7:53 pm by kdabbara


Help, webdriver sendKeys is very very slow

View previous topic View next topic Go down

Help, webdriver sendKeys is very very slow

Post by Lyshco on Tue Mar 27, 2012 12:09 pm

Hi All,

We have about 800 Java test cases written in Selenium 1 and we are migrating across to Selenium 2. In selenium 1 to fill in a text field we used the following function:

protected void typeAndBlur(String key, String value)
        selenium.type(key, value);
        selenium.fireEvent(key, "blur");

This has since been changed to the following for WebDriver

protected void typeAndBlur(String fieldId, String value)
 WebElement elem = driver.findElement(;


However, when we run up the tests with the new syntax they are terribly slow. In Selenium 1 pages were filled out in an instant. However with Selenium 2 we can actually see the text being typed into each field.

I am just wondering is there any way we can speed up the selenium 2 tests? Is there something different to sendKeys() that we can use?


Posts : 1
Join date : 2012-03-27

Back to top Go down

Re: Help, webdriver sendKeys is very very slow

Post by qappbc on Wed Mar 28, 2012 10:39 am


Posts : 38
Join date : 2011-10-13

Back to top Go down

Re: Help, webdriver sendKeys is very very slow

Post by ThomasG on Sun Aug 04, 2013 12:48 am

"Very Slow": In may case sendKeys() took about 5 second per letter.

Context: Windows 7, Internet Explorer 64 Bit, selenium-server-standalone-2.33.0.jar, IEDriverServer.exe, 64-Bit.

For some reason WebDriver activates a 32-Bit Version of the Internet Explorer, which is also installed on my system and which is not compatible with the 64-Bit-WebDriver.

So I switched to the 32-Bit-Version of IEDriverServer.exe and everything is fine.

Pity, that the well-meant Driver doesn't find it's Browser.


Posts : 1
Join date : 2013-08-03

Back to top Go down

Re: Help, webdriver sendKeys is very very slow

Post by Sponsored content

Sponsored content

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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