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

Selenium allows to sendKeys into an invisible input type=file #7625

Open
@lukeis

Description

@lukeis

Originally reported on Google Code with ID 7625


What steps will reproduce the problem?
Tried to upload a document in simple browser button.
Sample Code:
<file id=file>
 <input id=browse name=browse type=file/>
</file>

Actual Result:
1. This element is not hidden but when worked with Internet Explorer version: 2.41,
it is not taking the element.
2. When checked with .size(), it is giving me =1.
3. When checked with .isDisplayed(), it is giving out= false.
4. Working in all other browsers fine..
5. Working fine with Internet Explorer version: 2.36.

What is the expected output? What do you see instead?
1. This should support the upgraded IE Driver version as well.


Selenium version:2.39
OS:Windows 7
Browser: IE 9 (IEDriver 2.41)
Browser version: 2.41


Reported by goyal.vipul68 on 2014-07-19 13:14:20

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions