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

158
Vistas
Need help to get a value of an xPath in puppeteer

I want to get the value of an exact xpath, that has a value of 1,400. Can not use any span or label class name because their are multiple classes with the same class or label name. So i have found out i have to use the Xpath. Any suggestions?

HTML:

<span class="currency-coins value">1,400</span>

Full xpath:

/html/body/main/section/section/div[2]/div/div/section[2]/div[2]/section/div[2]/ul/li[1]/div/div[2]/div[3]/span[2]/text()

Image of the Code

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

If the label is unique you can try:

//*[contains(text(), 'Kjop na')][0]/following-sibling::*
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