Closed Bug 1347234 Opened 7 years ago Closed 6 years ago

Action chains when doing numerous key down/key up can be slow and erratic

Categories

(Remote Protocol :: Marionette, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: jim.brannlund, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: perf)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Firefox/52.0
Build ID: 20170302120751

Steps to reproduce:

Entered username and password (text) using ActionChains.send_keys_to_element()

Small test-snippet to reproduce:

    driver.get("https://the-internet.herokuapp.com/login")
    un = driver.find_element_by_id('username')
    pw = driver.find_element_by_id('password')

    actions = ActionChains(driver)
    un.click()
    actions.send_keys_to_element(un, "Tom Smith").perform()
    pw.click()
    actions.send_keys_to_element(pw, "mhapass").perform()

Firefox 52.0
Geckodriver 0.15.0
Selenium python bindings 3.3.1

Run on OSX 10.12.3 using python 2.7.10 and pytest 3.0.6


Actual results:

Input is slow and erratic.


Expected results:

Input should be fast and complete.
Summary: action chains → Action chains when doing numerous key down/key up can be slow and erratic
Priority: -- → P3
Sorry for the late reply to this, but if it is still a problem in Firefox Nightly, could you possibly attach a trace-level log from geckodriver?
Flags: needinfo?(jim.brannlund)
Sure, I'll try that and get back to you. It might be a week or two tho, I'm going on vacation.
message on IRC

> selbot2: note from jimboslice-sl about 8 hours ago: You can close https://bugzilla.mozilla.org/show_bug.cgi?id=1347234 cheers
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Flags: needinfo?(jim.brannlund)
Resolution: --- → WORKSFORME
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.