a-selenium-get-with-timeout


Namea-selenium-get-with-timeout JSON
Version 0.11 PyPI version JSON
download
home_pagehttps://github.com/hansalemaos/a_selenium_get_with_timeout
SummaryNo more getting stuck with not reacting URLs
upload_time2023-01-01 17:41:47
maintainer
docs_urlNone
authorJohannes Fischer
requires_python
licenseMIT
keywords selenium automation url timeout get
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# No more getting stuck with not reacting URLs


```python
# Tested with:
# https://github.com/ultrafunkamsterdam/undetected-chromedriver
# Python 3.9.13
# Windows 10

$pip install a-selenium-get-with-timeout


from auto_download_undetected_chromedriver import download_undetected_chromedriver
import undetected_chromedriver as uc

from a_selenium_get_with_timeout import get_site_with_timeout

if __name__ == "__main__":
    folderchromedriver = "f:\\seleniumdriver2"
    path = download_undetected_chromedriver(folder_path_for_exe=folderchromedriver, undetected=True)
    driver = uc.Chrome(driver_executable_path=path)
    url=r"https://www.whitehouse.gov/"
    get_site_with_timeout(driver, url, timeout=5, ready_state=True)

```


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/hansalemaos/a_selenium_get_with_timeout",
    "name": "a-selenium-get-with-timeout",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "Selenium,automation,url,timeout,get",
    "author": "Johannes Fischer",
    "author_email": "<aulasparticularesdealemaosp@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/c2/d4/dd4f6c65b69962064e0ff3fa052dbfbc09c51c163e7c510dab58f95c25d1/a_selenium_get_with_timeout-0.11.tar.gz",
    "platform": null,
    "description": "\n# No more getting stuck with not reacting URLs\n\n\n```python\n# Tested with:\n# https://github.com/ultrafunkamsterdam/undetected-chromedriver\n# Python 3.9.13\n# Windows 10\n\n$pip install a-selenium-get-with-timeout\n\n\nfrom auto_download_undetected_chromedriver import download_undetected_chromedriver\nimport undetected_chromedriver as uc\n\nfrom a_selenium_get_with_timeout import get_site_with_timeout\n\nif __name__ == \"__main__\":\n    folderchromedriver = \"f:\\\\seleniumdriver2\"\n    path = download_undetected_chromedriver(folder_path_for_exe=folderchromedriver, undetected=True)\n    driver = uc.Chrome(driver_executable_path=path)\n    url=r\"https://www.whitehouse.gov/\"\n    get_site_with_timeout(driver, url, timeout=5, ready_state=True)\n\n```\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "No more getting stuck with not reacting URLs",
    "version": "0.11",
    "split_keywords": [
        "selenium",
        "automation",
        "url",
        "timeout",
        "get"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "741207ed662a5530be615f5db181d061",
                "sha256": "67372111f71e668a6c3c86d733900822052aacb6eec4f87cdf9f18ea0b4e7201"
            },
            "downloads": -1,
            "filename": "a_selenium_get_with_timeout-0.11-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "741207ed662a5530be615f5db181d061",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 5113,
            "upload_time": "2023-01-01T17:41:45",
            "upload_time_iso_8601": "2023-01-01T17:41:45.754498Z",
            "url": "https://files.pythonhosted.org/packages/f3/21/a0e1f2f1e25caf09fa29026cb87eddb586e657ce0d1c83395fe28e1718e5/a_selenium_get_with_timeout-0.11-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "1b09e96c08ba098c8b25c28979ccf166",
                "sha256": "93f2ee082f1605eddad660b8785dc500438243582713dd6c3d31c64d95f821f7"
            },
            "downloads": -1,
            "filename": "a_selenium_get_with_timeout-0.11.tar.gz",
            "has_sig": false,
            "md5_digest": "1b09e96c08ba098c8b25c28979ccf166",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3504,
            "upload_time": "2023-01-01T17:41:47",
            "upload_time_iso_8601": "2023-01-01T17:41:47.093752Z",
            "url": "https://files.pythonhosted.org/packages/c2/d4/dd4f6c65b69962064e0ff3fa052dbfbc09c51c163e7c510dab58f95c25d1/a_selenium_get_with_timeout-0.11.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-01-01 17:41:47",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "hansalemaos",
    "github_project": "a_selenium_get_with_timeout",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "a-selenium-get-with-timeout"
}
        
Elapsed time: 0.07298s