title: solving google captcha with 2captcha in puppeteer
body: <p>i saw a video on YouTube that can solve captcha with puppeteer and 2captch it work I received the solution and it placed in</p>
  <p><code>g-recaptcha-response</code></p>
  <p>but the problem there is no button to procced to the next page the captcha appear at its own page like the following pic:</p>
  <p><a href="https://i.stack.imgur.com/0GS21.png" rel="nofollow noreferrer">enter image description here</a></p>
  <p>I tried to reload the page using this line of code</p>
  <p><code>await page[0].reload({ waitUntil: [&quot;networkidle0&quot;, &quot;domcontentloaded&quot;] });</code></p>
  <p>I print out the page title to be able to see if the captcha page solved:</p>
  <p><code>var pagetitle3 = await page[0].title();</code></p>
  <p><code>console.log(pagetitle3);</code></p>
  <p>It work only in headless mode is false but when the headless mode is true it won't</p>
  <p>YouTube link: <a href="https://youtu.be/wsDRkAD6lPs" rel="nofollow noreferrer">https://youtu.be/wsDRkAD6lPs</a>
  source code: <a href="https://jsoverson.medium.com/bypassing-captchas-with-headless-chrome-93f294518337" rel="nofollow noreferrer">https://jsoverson.medium.com/bypassing-captchas-with-headless-chrome-93f294518337</a></p>
  <p>if anyone can help me
  tank you very much :-)</p>