Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

78
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda