You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-- New folder created for this domain
Traceback (most recent call last):
File "crawwwly-selenium.py", line 35, in <module>
save_screenshot(driver, out_path) # Saving the screenshot
File "crawwwly-selenium.py", line 12, in save_screenshot
required_width = driver.execute_script('return document.body.parentNode.scrollWidth')
File "/usr/local/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 634, in execute_script
return self.execute(command, {
File "/usr/local/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python3.8/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.JavascriptException: Message: TypeError: document.body is null
The text was updated successfully, but these errors were encountered:
Issue report:
The text was updated successfully, but these errors were encountered: