Closed BarthV closed 2 years ago
Did I miss a thing or is there another way to achieve this ?
Hi @BarthV,
This problem is indeed a bug. Thanks for finding it out!
We've fixed the problem, and we will merge the fix soon on the main
branch. You can build a new xk6-browser using the main
branch if you need this feature right now. Or, you can wait for the next release (due by June 27, 2022).
Thanks again!
This is great. thanks a lot for your work.
Hi :)
I'm trying to set camera and/or microphone permissions using both xk6-browser context
browserContext.grantPermissions(permissions[, options])
or NewContext parameterpermissions: ['midi'], // Permisions to grant by default
.But when I'm doing it , it fails with a panic error :
output :
When I'm trying to set permissions after spawning a default context (putting everything as var instaead of const didn't change the result):
output :