From 06544b067d751ffd2f193ba9a016878c460076d2 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Tue, 27 Feb 2018 17:56:34 -0500 Subject: [PATCH] additional docs Signed-off-by: Kenneth Reitz --- requests_html.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/requests_html.py b/requests_html.py index 1b40971..3216944 100644 --- a/requests_html.py +++ b/requests_html.py @@ -231,6 +231,11 @@ class HTML(BaseParser): If scrolldown is specified, the page will scrolldown the specified number of times, after sleeping the specified amount of time. + If script is specified, it will execute the provided JavaScript at + runtime. + + Returns the return value of script, if any is provided. + Warning: the first time you run this method, it will download Chromium into your home directory (``~/.pyppeteer``). """