Visitar URL original
Add WebDriver BiDi file dialog automation support and WPT tests by sweetFish8 · Pull Request #64840 · web-platform-tests/wpt · GitHub
Skip to content

Add WebDriver BiDi file dialog automation support and WPT tests - #64840

Open
sweetFish8 wants to merge 2 commits into
web-platform-tests:masterfrom
sweetFish8:webdriver-bidi-file-dialog-behavior
Open

sweetFish8 wants to merge 2 commits into
web-platform-tests:masterfrom
sweetFish8:webdriver-bidi-file-dialog-behavior

Conversation

@sweetFish8

Copy link
Copy Markdown

Companion WPT PR for:

Summary

  • Adds WebDriver BiDi client methods browser.set_file_dialog_behavior and browser.create_temporary_directory (along with InvalidBase64Exception).
  • Adds test_driver.bidi.browser.set_file_dialog_behavior, test_driver.bidi.browser.create_temporary_directory, and convenience wrappers test_driver.set_file_picker_behavior and test_driver.create_temporary_directory to resources/testdriver.js and wptrunner.
  • Adds WebDriver BiDi tests under webdriver/tests/bidi/browser/set_file_dialog_behavior/ and webdriver/tests/bidi/browser/create_temporary_directory/.
  • Adds automated WPT tests for <input type="file"> (html/semantics/forms/the-input-element/input-file-picker-automation.html) and File System Access API (file-system-access/showOpenFilePicker.https.html, showSaveFilePicker.https.html, showDirectoryPicker.https.html).

Add WebDriver BiDi and testdriver.js support for automating file picker
dialogs and creating temporary test directories:
- WebDriver BiDi client methods browser.set_file_dialog_behavior and
  browser.create_temporary_directory (plus InvalidBase64Exception)
- testdriver.js APIs test_driver.bidi.browser.set_file_dialog_behavior,
  test_driver.bidi.browser.create_temporary_directory, and convenience
  wrappers test_driver.set_file_picker_behavior and
  test_driver.create_temporary_directory
- WebDriver BiDi WPT tests for browser.setFileDialogBehavior and
  browser.createTemporaryDirectory
- Automated HTML <input type=file> and File System Access API
  (showOpenFilePicker, showSaveFilePicker, showDirectoryPicker) picker
  tests

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants