Open Bug 1503860 Opened 1 year ago Updated 7 months ago
Not Interactable Exception when using send Keys on an input type=file inside a shadow root
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36 Steps to reproduce: 1. Have a page with a `<input type=file>` directly in the body and another one inside a shadow root 2. Use WebDriver to upload a file to the input in the body 3. Use WebDriver to upload a file to the input in the shadow root Actual results: Setting the file name for the input in the body succeeds. Setting the file name for the input in the shadow root (` uploadInBody.sendKeys(file1.getPath());`) fails with "ElementNotInteractableException" Expected results: `sendKeys` should work the same when the input is inside a shadow root
Can be reproduced using https://github.com/Artur-/selenium-firefox-shadowdom
WebDriver doesn’t really support shadow DOM yet, so that would have to be addressed first. There’s more discussion about this in https://github.com/w3c/webdriver/pull/1320.
Status: UNCONFIRMED → NEW
Component: Untriaged → Marionette
Ever confirmed: true
Priority: -- → P5
Product: Firefox → Testing
Version: 63 Branch → Trunk
You need to log in before you can comment on or make changes to this bug.