Watir Webdriver Input File Slow on IE

I use Cucumber and Watir-Webdriver to create some automated tests. I also use Stone PageObject. Code example below

require 'page-object'

class LoginPage
    include PageObject

    text_field(:username, :name => 'username')
    text_field(:password, :name => 'password')
    link(:login, :text => 'SIGN IN')
end

browser = Watir::Browser.new
browser.goto "MyWebAppLoginScreen"
login_page = LoginPage.new(browser)
login_page.username="MyUserName"
login_page.password="MyPass"
login_page.login

The problem that I see is that it takes a lot of time to enter text into the username / password fields in IE (version 11). I also tested with Firefox and Chrome, and the text is entered immediately. However, in IE, it enters a text character by character, and each character takes about 10-15 seconds to insert. This drastically slows down the execution time of my tests in IE. Has anyone else come across this? Any ideas on how to fix this? I tried using the browser.speed =: zippy parameter, but that doesn't seem to help.

+4
3

, 64- IEDriverServer. - IE . 64- 32-, , firefox. .

http://selenium-release.storage.googleapis.com/index.html

, IE10, - , IE11

+6

@TooSuspiciousToSignUpD IE 11.

:

+1

, Internet Explorer 11 . selenium Google:

Support for IE 11 is still blocked by changes in browser behavior. Microsoft's workarounds are unlikely to be expected due to the recent announcement of the development process for the Microsoft-authorized driver for Internet Explorer 11 and above. Note that the Microsoft driver will not be available in any form until the W3C specification for WebDriver goes further in the processing specification. In addition, the release dates were not announced by Microsoft, and should not be expected.

0
source

Source: https://habr.com/ru/post/1531054/


All Articles