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

Can we use Web Driver instead of this? #83

Open
marcoscaceres opened this issue Mar 21, 2024 · 2 comments
Open

Can we use Web Driver instead of this? #83

marcoscaceres opened this issue Mar 21, 2024 · 2 comments

Comments

@marcoscaceres
Copy link

I wonder if there is a way of removing a lot of the Chrome (and webkit) specific code in the utils by making this use Web Driver BiDi instead?

It seems weird to hook into testing internals... it feels like Web Driver would solve for this.

@alcooper91
Copy link
Contributor

Hey Marcos,

The intention of this spec is to serve as an API for a test interface in WPTs to mock out a fake device so that we can control that to validate expected behavior on a page. (E.g. "If the world looks like this, what values do we get back from a hit test"). I don't think anything precludes you all from using WebDriver yourselves, and in fact this seems like more of an issue on the webxr-utils.js file that's checked in with the WPTs? If that's the case, I'm not sure where is the best place to file an issue like that, but I think it's beyond the scope of what this repo is intended to be.

@alcooper91
Copy link
Contributor

That being said, if you feel there's some simpler way to do this than we currently have implemented (which I thought also ran in WebKit?) I'd definitely be interested in trying to simplify things; but I don't have much bandwidth to make a large Chrome-side change like that at the moment.

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