title: Varible passed to page.evaluate is undefined
body: <p>When I use <code>page.evaluate</code> and pass varibles to it, they are undefined.</p>
  
  <pre><code>let reaction;
  // First console.log actually logs the string as expected
  console.log(reactionTitle);
  await this.page.evaluate(function (reactionTitle, reaction) {
      // Second console.log logs undefined in the website's console
      console.log(reactionTitle);
      document.querySelectorAll('span.embedAuthorName-3mnTWj').forEach(s =&gt; {
          // Third console.log logs all innerTexts in the website's console
          console.log(s.innerText)
          if (s.innerText == reactionTitle) {
              console.log(s);
              reaction = s.offsetParent.offsetParent.querySelector('.container-1ov-mD').querySelector('.reactions-12N0jA').querySelector('div').querySelector('.reaction-1hd86g').querySelector('.reactionInner-15NvIl');
              console.log(reaction)
          }
      });
  }, (reactionTitle, reaction));
  
  console.log(reaction)
  </code></pre>
  
  <p>I put some comments in the code to show where reactionTitle is undefined.</p>