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

519
Vistas
"ERROR webdriver: Request failed with status 404 due to invalid session id: invalid sessio"

I am using webdriver.io for automation testing but i am getting error ERROR webdriver: Request failed with status 404 due to invalid session id: invalid session" and this is my code

    describe("Main Page",()=>{
    it("Verify List Items",()=>{
        browser.url("/");
        browser.pause(5000)

        const listExamples = $$("//div[@id='content']//ul/li");//> Double dollar to find all the elements
        expect (listExamples).toBeElementsArrayOfSize(45);
        
        console.log(listExamples);
    })
})
about 4 years ago · Juan Pablo Isaza
2 Respuestas
Responde la pregunta

0

I found the answer actually from 14/04/2021 sync mode will not be supported anymore starting from Node.js v16 due to changes in Chromium. So I just used async and error was solved.

about 4 years ago · Juan Pablo Isaza Denunciar

0

On WebdriverIO official site, I see that it has the guideline about "How to enable/disable sync mode". Please take a look on this: https://webdriver.io/docs/sync-vs-async#async-mode

about 4 years ago · Juan Pablo Isaza Denunciar
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