Some updates to driver downloads and loading external JS resources:
- Make a few updates to the driver download script:
-- If there are issues with getting an "https" URL to work, try an "http" URL instead.
-- Have Windows users download the latest Chromedriver if no version is specified. - Use better error messages when trying to load JS resources.
- Refactor code that loads external JS resources into websites.
- Add extra names to scrolling methods for easier clarity:
--self.scroll_to_element()
becomes a duplicate forself.scroll_to()
.
--self.slow_scroll_to_element()
becomes a duplicate forself.slow_scroll_to()
. - Update the Dockerfile.
- Update Python dependencies:
--cffi==1.14.6"
--Pillow==8.3.1;python_version>="3.6"