Pomoc pśepytaś

Glědajśo se wobšudy pomocy. Njenapominajomy was nigda, telefonowy numer zawołaś, SMS pósłaś abo wósobinske informacije pśeraźiś. Pšosym dajśo suspektnu aktiwitu z pomocu nastajenja „Znjewužywanje k wěsći daś“ k wěsći.

Learn More

Firefox headless: Grant access to camera/microphone in Selenium test

  • Žedne wótegrona
  • 0 ma toś ten problem
  • 16 naglědow
more options

I'm currently building/testing a website with Firefox and Selenium, which requires interacting with the camera/microphone.

To avoid having real hardware present, I've configured media.naviagator.streams.fake=true, however for some time now, this isn't enough anymore (not exactly sure for how long).

When running normally (i.e. not headless), I can see that the permission prompt ("Allow website to use your camera/microphone?"), but I can't interact with it from Selenium.

Is there a way to disable this prompt programmatically?

I'm currently building/testing a website with Firefox and Selenium, which requires interacting with the camera/microphone. To avoid having real hardware present, I've configured media.naviagator.streams.fake=true, however for some time now, this isn't enough anymore (not exactly sure for how long). When running normally (i.e. not headless), I can see that the permission prompt ("Allow website to use your camera/microphone?"), but I can't interact with it from Selenium. Is there a way to disable this prompt programmatically?