Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

182
Views
¿Cómo reproducir un video en pantalla completa y poder subir/bajar el volumen en Cypress?

Estoy tratando de averiguar cómo reproducir video en pantalla completa, pero mi código no funciona:

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

Puedo reproducir el video en silencio, pero quiero probar que se puede reducir el volumen, pero no puedo hacer que esto funcione.

Código para iniciar el video en la pantalla predeterminada en silencio:

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

div (Código de elemento):

 <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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!