Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WebDriver BiDi] Respect user context #637

Open
sadym-chromium opened this issue Nov 18, 2024 · 1 comment
Open

[WebDriver BiDi] Respect user context #637

sadym-chromium opened this issue Nov 18, 2024 · 1 comment

Comments

@sadym-chromium
Copy link

sadym-chromium commented Nov 18, 2024

In WebDrive BiDi, there is a concept of user context, which is similar to CDP's BrowserContext, which, in turn, is similar to Chrome's incognito profile.

Should Bluetooth Simulation be a BrowserContext-specific, or it should be shared between all the BrowserContexts?

Related issue: #635

@reillyeon
Copy link
Contributor

I'm not sure whether this is really separate from the other issue. In normal operation real Bluetooth devices are global to the whole system so from that perspective having simulated Bluetooth devices be specific to a particular tab or profile is a departure from normal behavior. On the other hand it's probably useful for test automation to not have the operations of one test interfering with another, which browser-wide simulated Bluetooth devices could do.

Implementation concerns however mean that it's hard to mix providing simulated and real Bluetooth devices to the same page and so we're probably stuck with having simulated devices more tightly scoped.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants