mirror of
https://github.com/kennethreitz/requests-html.git
synced 2026-06-05 23:00:20 +00:00
render implementation
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
This commit is contained in:
+6
-1
@@ -255,7 +255,12 @@ class HTML(BaseParser):
|
||||
}
|
||||
\"\"\"
|
||||
|
||||
Returns the return value of'the executed ``script``, if any is provided.
|
||||
Returns the return value of'the executed ``script``, if any is provided:
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
>>> r.html.render(script=script)
|
||||
{'width': 800, 'height': 600, 'deviceScaleFactor': 1}
|
||||
|
||||
Warning: the first time you run this method, it will download
|
||||
Chromium into your home directory (``~/.pyppeteer``).
|
||||
|
||||
Reference in New Issue
Block a user