Scrolls down on a page
Project description
Scrolls down on a page
# Tested with:
# https://github.com/ultrafunkamsterdam/undetected-chromedriver
# Python 3.9.13
# Windows 10
$pip install a-selenium-scroll-down-forever
from auto_download_undetected_chromedriver import download_undetected_chromedriver
import undetected_chromedriver as uc
from time import sleep
from a_selenium_scroll_down_forever import scroll_down_forever
if __name__ == "__main__":
folderchromedriver = "f:\\seleniumdriver2"
path = download_undetected_chromedriver(
folder_path_for_exe=folderchromedriver, undetected=True
)
driver = uc.Chrome(driver_executable_path=path)
driver.get(r"https://github.com/hansalemaos/a_cv2_easy_resize")
sleep(2)
scroll_down_forever(
driver,
pause_between_scrolls=(0.5, 0.1),
max_scrolls=10,
timeout=3,
script_timeout=1,
)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file a_selenium_scroll_down_forever-0.10.tar.gz
.
File metadata
- Download URL: a_selenium_scroll_down_forever-0.10.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | da31d0f9b146190885e50cdc4336ca276fc68cca6375fe9d9c1ca90bb806c631 |
|
MD5 | ad1ab8f8e4747fccd09c0892604fdf5b |
|
BLAKE2b-256 | 9c81baf4ccecec98344dfca7449574c398d79f2be35e0f044d71d0ed4a8813d2 |
File details
Details for the file a_selenium_scroll_down_forever-0.10-py3-none-any.whl
.
File metadata
- Download URL: a_selenium_scroll_down_forever-0.10-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59d34686b3ec68f99f577d7cff4cb66850d6c37db40fe6a5e629616938e2eddf |
|
MD5 | ed143b22bc6c5a895c1011e3e40fd995 |
|
BLAKE2b-256 | 0048fafd1cc3d86dd22a2c9067b479bd0492b8c0672b3fdb9c15f202fc8ea212 |