Navigation Menu

Skip to content
This repository has been archived by the owner on Nov 29, 2018. It is now read-only.

send_keys doesn't work properly in Firefox/python #2465

Closed
lukeis opened this issue Mar 3, 2016 · 2 comments
Closed

send_keys doesn't work properly in Firefox/python #2465

lukeis opened this issue Mar 3, 2016 · 2 comments

Comments

@lukeis
Copy link
Member

lukeis commented Mar 3, 2016

Originally reported on Google Code with ID 2465

send_keys appends text to url in address bar instead of entering value into input field.
Seems to be similiar problem as: http://code.google.com/p/selenium/issues/detail?id=1766

What steps will reproduce the problem?
Example python code attached (selenium installed by: pip install selenium):

import time
from selenium.webdriver import Firefox as FirefoxWebDriver
driver = FirefoxWebDriver()
driver.get('http://google.com')
t = driver.find_element_by_id('lst-ib')
t.send_keys('dd')
time.sleep(5)
driver.close()

What is the expected output? What do you see instead?
I expect text 'dd' to be entered into input field, instead I see 'dd' appended to url:
http://www.google.pl/dd


Selenium version: 2.6.0
OS: Ubuntu: 2.6.38-11-generic, x86_64
Browser: Firefox
Brower version: 6.0.2


Please provide any additional information below. A sample reduced test
case, or a public URL that demonstrates the problem will intrigue our merry
band of Open Source developers far more than nothing at all: they'll be far
more likely to look at your problem if you make it easy for them!

Reported by pigletto on 2011-09-15 13:42:10


- _Attachment: [seltest.py](https://storage.googleapis.com/google-code-attachments/selenium/issue-2465/comment-0/seltest.py)_
@lukeis
Copy link
Member Author

lukeis commented Mar 3, 2016

should be fixed in 2.7.0 ~ released today, python bindings will be updated soon.

Reported by luke.semerau on 2011-09-23 15:41:46

@lukeis
Copy link
Member Author

lukeis commented Mar 3, 2016

Reported by luke.semerau on 2015-09-17 18:13:45

  • Labels added: Restrict-AddIssueComment-Commit

@lukeis lukeis closed this as completed Mar 3, 2016
@SeleniumHQ SeleniumHQ locked and limited conversation to collaborators Mar 4, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant