title: requests-html - Unable to render() html with cookies
body: <p>I need to render a page for scraping with requests-html in python.
  No matter what I have tried, I've been unsuccessful with getting the page rendered. It stays as standard HTML.</p>
  <p>I did find <a href="https://stackoverflow.com/questions/63903596/python-requests-html-render-html-with-cookies">this</a> site, which made me believe that i'm unable to render the page as it is behind a login screen, and thus would require cookies (correct?).</p>
  <p>Here is a part of my current code:</p>
  <pre><code>r = session.get(&quot;https://ib.nab.com.au/nabib/acctInfo_acctBal.ctl#/&quot;)
  r.html.render(cookies=session.cookies)
  
  item = r.html.find('#myAccounts &gt; div &gt; ib-my-accounts &gt; div &gt; section &gt; div &gt; ib-my-account- 
  summary-net-position &gt; div &gt; table &gt; tbody &gt; tr:nth-child(3) &gt; td &gt; div &gt; span &gt; number-signed-balance &gt; div &gt; span')
  
  print(item)
  </code></pre>
  <p>And here is the error i get:</p>
  <pre><code>r.html.render(cookies=session.cookies)
  TypeError: render() got an unexpected keyword argument 'cookies'
  </code></pre>
  <p>This is even in the <a href="https://docs.python-requests.org/projects/requests-html/en/latest/" rel="nofollow noreferrer">documentation</a>.. so why won't it accept the cookies argument?</p>
  <p><strong>NOTE</strong></p>
  <p>The render function does work on my computer. The code i used from an example below confirms this, hence my belief this is a cookie issue.</p>
  <pre><code>from requests_html import HTMLSession
  
  # create an HTML Session object
  session = HTMLSession()
  
  # Use the object above to connect to needed webpage
  resp = session.get(&quot;https://finance.yahoo.com/quote/NFLX/options?p=NFLX&quot;)
  
  # without js
  option_tags = resp.html.find(&quot;option&quot;) 
  # Run JavaScript code on webpage
  resp.html.render()
  
  # with js
  option_tags_js = resp.html.html.find(&quot;option&quot;)
  
  print(option_tags)
  </code></pre>
  <p><strong>UPDATE!</strong></p>
  <p>I managed to fix the cookie issue! The Request-html library must be installed through the GitHub repo, not directly from pip. The same version was installed, however the render() function has been updated on GitHub to accept cookie input.... I am however, still unable to render this page and pull out the xpath data I require.</p>