Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

180
Vistas
How to play a video on full screen and able to turn volume down/up in cypress?

I am trying to figure out how to play video on full screen but my code is not working:

cy.get('[class="shaka-fullscreen-button material-icons-round shaka-tooltip"]')
  .should('be.visible')
  .and('contain', 'fullscreen').click()

I am able to play the video on mute but I want to test the volume can be reduced but cant get this working.

Code for starting video on default screen on mute:

cy.get('#video')
.then((video) => {
  const element = video.get(0);
  element.muted = true;
  element.play();
  return video;
})

div (Element code):

<button class="shaka-mute-button material-icons-round shaka-tooltip" aria-label="Mute">volume_up</button>
<div class="shaka-range-container shaka-volume-bar-container" style="background: linear-gradient(to right, rgb(255, 255, 255) 76.8111%, rgba(255, 255, 255, 0.54) 76.8111%, rgba(255, 255, 255, 0.54) 100%);">
    <input class="shaka-range-element shaka-volume-bar" type="range" step="any" min="0" max="1" aria-label="volume">
</div>
<button class="shaka-fullscreen-button material-icons-round shaka-tooltip" aria-label="Full screen">fullscreen</button>
about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda