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

166
Views
Intentando acceder a iframe dentro de otro iframe con titiritero

Estoy tratando de acceder a iframe dentro de otro iframe con titiritero. Simplemente sucedió, por lo que el sitio web en sí está en iframe, y luego hay un formulario de inicio de sesión en otro iframe.

He intentado acceder al iframe anidado accediendo primero a uno no anidado, pero aparentemente no funciona, porque no detecta ningún elemento.

El primer iframe y la interacción con él funcionan perfectamente bien.

Gracias de antemano a todos.

Esa es la representación visual del iframe anidado, si no entendiste lo que quiero decir.

 const puppeteer = require("puppeteer"); (async () => { const browser = await puppeteer.launch({ headless: false }); const page = await browser.newPage(); await page.goto('https://www.hentaiheroes.com'); await page.waitForTimeout(1000); // Confirm the age by clicking button 'OK' await page.waitForSelector('iframe'); const element = await page.$( 'iframe[src="/home.html"]', ); const frame = await element.contentFrame(); await frame.click('#popup_confirm'); // Click on login button await frame.waitForSelector('.igreen'); await frame.click('.igreen'); // Login with credentials await frame.waitForSelector('#authentication-iframe'); const innerElement = await frame.$( 'iframe[src="https://eggs-ext.kinkoid.com/authentication/start_authentication?product_id=1&language=en&purpose=authenticate"]', ); const innerFrame = await innerElement.contentFrame(); console.log("1"); await innerFrame.waitForSelector('#login_register_form'); console.log("2"); // await innerFrame.type('#auth-email', 'abzh423@protonmail.com'); // await page.waitForSelector('#auth-password'); // await loginFrame.type('#auth-password', 'Ab77015221787'); // await loginFrame.click('#submit-authenticate'); // await browser.close(); })();

about 4 years ago · Santiago Trujillo
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!