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

73
Views
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 answers
Answer question

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 Report
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!