ericmckean / chromedriver

Automatically exported from code.google.com/p/chromedriver
0 stars 0 forks source link

ChromeDriver is able to access content beneath input type file browse popup window, which it should not. #1030

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

Issue Description:
While using ChromeDriver with Watir, we found that ChromeDriver is able to 
click on elements beneath a browser popup windows which was triggered by html 
<input type="file"> element. 

When manually go to the page and trigger the file browse window, nothing below 
the popup is clickable because the popup is on top.

Steps to reproduce:

in Watir:
#These 2 lines click-opens the file upload browse window correctly
element = browser.file_field(:class => "gwt-FileUpload")
browser.driver.action.move_to(element.wd, 85, 12).click.perform

#this actually clicks the button to close the panel the input_type_file element 
is on, even though it's still beneath the file browse window. In the mean time 
the browse window remains open
browser.button(:text => 'Cancel').click

And various other steps were conducted and were all successful, such as going 
to another page and typing things in a textbox, all while this file browse 
window was remaining opened and on top of everything else.

Original issue reported on code.google.com by zhouij...@gmail.com on 5 Feb 2015 at 9:25

GoogleCodeExporter commented 9 years ago
do you have more codes to share with us that will help us to reproduce issue
prefer standalone Ruby we can run direct.

Original comment by andrewch...@chromium.org on 5 Feb 2015 at 11:38

GoogleCodeExporter commented 9 years ago

Original comment by samu...@chromium.org on 21 Feb 2015 at 12:18

GoogleCodeExporter commented 9 years ago

Original comment by gmanikp...@chromium.org on 2 Apr 2015 at 7:42