miyakogi / pyppeteer

Headless chrome/chromium automation library (unofficial port of puppeteer)
Other
3.57k stars 371 forks source link

How to set value to hidden INPUT #228

Open JungleXia opened 5 years ago

JungleXia commented 5 years ago

eg: <input type="hidden" id="buildingHouse" name="building" value="4403070030041800002"> the hidden input, I use page.focus('input#buildingHouse')<br/> page.type('input#buildingHouse', '100') but it useless