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

245
Vistas
How to click on javascript:ctrl.set_pageReload()?

I have a webpage where the next-page is given as the following: javascript:ctrl.set_pageReload(6) I wanted to know how I would go about clicking on this to get the next page.

I have tried the following lua script:

function main(splash, args)
assert(splash:go(splash.args.url))
  local get_dimensions = splash:jsfunc([[
    function(){
    var rect = document.querySelector("ul[id='paginations_bottom'] li[class='btn-next'] a").getClientRects()[0];
    return {"x": rect.left, "y": rect.top}
  }
    ]])
  splash:set_viewport_full()
  splash:wait(0.1)
  local dimensions = get_dimensions()
  splash:mouse_click(dimensions.x, dimensions.y)
  splash:wait(0.3)
  return splash:png()
end

However, it only returns the same page so it's clear to me it's probably not a 'click-able' button, perhaps there's another way to interact with it?

The website url:

https://www.theparking.eu/used-cars/.html
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