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

465
Vistas
How to pull multiple numbers out of a string in Selenium IDE version 3.17

In the latest version of selenium ide, I want to extract a number from a string and print that number elsewhere. What command should I use?

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

0

You can run JavaScript functions inside of Selenium IDE using the execute script command.

If your string contains only a single number (or several numeric characters in a row), you can extract that number using JavaScript's match method with regex:

execute script | return ${stringWithNumber}.match(/\d+/) | extractedNumber

Here's an example:

Selenium IDE match example

Another option would be to use the substr method.

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