• Skip to main content
  • Skip to search
  • Skip to select language
  • References
    • Overview / Web Technology

      Web technology reference for developers

    • HTML

      Structure of content on the web

    • CSS

      Code used to describe document style

    • JavaScript

      General-purpose scripting language

    • HTTP

      Protocol for transmitting web resources

    • Web APIs

      Interfaces for building web applications

    • Web Technology

      Web technology reference for developers

  • Guides
    • Overview / MDN Learning Area

      Learn web development

    • MDN Learning Area

      Learn web development

    • HTML

      Learn to structure web content with HTML

    • CSS

      Learn to style content using CSS

    • JavaScript

      Learn to run scripts in the browser

    • Accessibility

      Learn to make the web accessible to all

  • MDN Plus
    • Overview

      More MDN. Your MDN.

    • FAQ

      Frequently asked questions about MDN Plus

  • Already a subscriber?
  • Get MDN Plus
  1. References
  2. Web APIs
  3. USBDevice
  4. USBDevice.open()

In this article

  • Syntax
  • Specifications
  • Browser compatibility

Related Topics

  1. USBDevice
  2. Properties
    1. configuration
    2. configurations
    3. deviceClass
    4. deviceProtocol
    5. deviceSubclass
    6. deviceVersionMajor
    7. deviceVersionMinor
    8. deviceVersionSubminor
    9. manufacturerName
    10. opened
    11. productId
    12. productName
    13. serialNumber
    14. usbVersionMajor
    15. usbVersionMinor
    16. usbVersionSubminor
    17. vendorId
  3. Methods
    1. claimInterface()
    2. clearHalt()
    3. close()
    4. controlTransferIn()
    5. controlTransferOut()
    6. isochronousTransferIn()
    7. isochronousTransferOut()
    8. open()
    9. releaseInterface()
    10. reset()
    11. selectAlternateInterface()
    12. selectConfiguration()
    13. transferIn()
    14. transferOut()

In this article

  • Syntax
  • Specifications
  • Browser compatibility

USBDevice.open()

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The open() method of the USBDevice interface returns a promise that resolves when a device session has started.

Syntax

open()

Parameters

None.

Return value

A promise.

Specifications

Specification
WebUSB API
# ref-for-dom-usbdevice-open①

Browser compatibility

BCD tables only load in the browser

Found a problem with this page?

  • Edit on GitHub
  • Source on GitHub
  • Report a problem with this content on GitHub
  • Want to fix the problem yourself? See our Contribution guide.

Last modified: Apr 24, 2022, by MDN contributors

Your blueprint for a better internet.

  • MDN on Twitter
  • MDN on GitHub

MDN

  • About
  • Hacks Blog
  • Careers

Support

  • Product help
  • Report a page issue
  • Report a site issue

Our communities

  • MDN Community
  • MDN Forum
  • MDN Chat

Developers

  • Web Technologies
  • Learn Web Development
  • MDN Plus
  • Website Privacy Notice
  • Cookies
  • Legal
  • Community Participation Guidelines

Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2022 by individual mozilla.org contributors. Content available under a Creative Commons license.