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

76
Vistas
Playwright Javascript skip fill selector in Google Form

I use Playwright framework on JS to autofill unknow Google form (which means i dont know Xpath to specify the answer, i just know to question. In my situation, form ask about address, name, size, phone number).

const { webkit } = require('playwright');
const URL = 'https://forms.gle/B4r6qZKdyxZCApTWA';
    (async () => {
        const browser = await webkit.launch({ headless: false });
        const page = await browser.newPage();
        await page.goto(URL);
        await page.fill('input:below(:has-text("Họ và tên"))','name');
        await page.fill('input:below(:has-text("Số điện thoại"))','phone number');
        await page.fill('input:below(:has-text("Địa chỉ"))','Address');
        await page.fill('input:below(:has-text("CMND"))','id');
        await page.fill('input:below(:has-text("Game"))','LOL');
        await page.pause();
        await browser.close();
    })();

URL: https://forms.gle/B4r6qZKdyxZCApTWA

The name and number field is fine but in the address field, things get mess up. It skip and jump to the id field and fill 'address'->'LOL'->'id'

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

0

The answer field of Google Form has 2 kind: input and textarea. I just need to change it. But any better way to do more "general" to fit that kind of GForm?

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