webdriver-kaifuku


Namewebdriver-kaifuku JSON
Version 24.4.16.0 PyPI version JSON
download
home_pageNone
SummaryRestartable webdriver instances
upload_time2024-04-16 11:02:48
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseNone
keywords selenium
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <h1 align="center"> webdriver_kaifuku </h1>
<h3 align="center"> Restartable webdriver instances </h3>

<p align="center">
    <a href="https://pypi.org/project/webdriver-kaifuku/">
    <img alt="Python Versions" src="https://img.shields.io/pypi/pyversions/webdriver-kaifuku.svg?style=flat">
    </a>
    <a href="https://pypi.org/project/webdriver_kaifuku/#history">
    <img alt="PyPI version" src="https://badge.fury.io/py/webdriver-kaifuku.svg">
    </a>
    <a href="https://codecov.io/gh/RedHatQE/webdriver_kaifuku">
      <img src="https://codecov.io/gh/RonnyPfannschmidt/webdriver_kaifuku/branch/master/graph/badge.svg" />
    </a>
    <a href="https://github.com/RonnyPfannschmidt/webdriver_kaifuku/actions/workflows/test_suite.yml">
    <img alt="github actions" src="https://github.com/RonnyPfannschmidt/webdriver_kaifuku/actions/workflows/test_suite.yml/badge.svg">
    </a>
    <a href="https://github.com/RonnyPfannschmidt/webdriver_kaifuku/blob/master/LICENSE">
    <img alt="License" src="https://img.shields.io/pypi/l/webdriver_kaifuku.svg?version=latest">
    </a>
</p>
The library provides restartable webdriver instances.

### Usage:
It support both `local` and `remote` webdriver. Some basic examples are-

- Local Browser

Make sure `webdriver` is already installed on your local machine.
```python
from webdriver_kaifuku import BrowserManager

manager = BrowserManager.from_conf({"webdriver": "Chrome"})
manager.start()
manager.close()
```
- [Selenium Container](https://github.com/RedHatQE/selenium-images)

```python
from webdriver_kaifuku import BrowserManager

manager_config = {
    "webdriver": "Remote",
    "webdriver_options": {
        "desired_capabilities": {"browserName": "firefox"},
        "command_executor": "http://localhost:<port>",
    },
}
manager = BrowserManager.from_conf(manager_config)
manager.start()
manager.close()
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "webdriver-kaifuku",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "Ronny Pfannschmidt <rpfannsc@redhat.com>, Nikhil Dhandre <ndhandre@redhat.com>",
    "keywords": "selenium",
    "author": null,
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/96/78/76b7dc882f5c82ccf4c797ce280551aa04ff0b9538ac44fef38efc4ccca0/webdriver_kaifuku-24.4.16.0.tar.gz",
    "platform": null,
    "description": "<h1 align=\"center\"> webdriver_kaifuku </h1>\n<h3 align=\"center\"> Restartable webdriver instances </h3>\n\n<p align=\"center\">\n    <a href=\"https://pypi.org/project/webdriver-kaifuku/\">\n    <img alt=\"Python Versions\" src=\"https://img.shields.io/pypi/pyversions/webdriver-kaifuku.svg?style=flat\">\n    </a>\n    <a href=\"https://pypi.org/project/webdriver_kaifuku/#history\">\n    <img alt=\"PyPI version\" src=\"https://badge.fury.io/py/webdriver-kaifuku.svg\">\n    </a>\n    <a href=\"https://codecov.io/gh/RedHatQE/webdriver_kaifuku\">\n      <img src=\"https://codecov.io/gh/RonnyPfannschmidt/webdriver_kaifuku/branch/master/graph/badge.svg\" />\n    </a>\n    <a href=\"https://github.com/RonnyPfannschmidt/webdriver_kaifuku/actions/workflows/test_suite.yml\">\n    <img alt=\"github actions\" src=\"https://github.com/RonnyPfannschmidt/webdriver_kaifuku/actions/workflows/test_suite.yml/badge.svg\">\n    </a>\n    <a href=\"https://github.com/RonnyPfannschmidt/webdriver_kaifuku/blob/master/LICENSE\">\n    <img alt=\"License\" src=\"https://img.shields.io/pypi/l/webdriver_kaifuku.svg?version=latest\">\n    </a>\n</p>\nThe library provides restartable webdriver instances.\n\n### Usage:\nIt support both `local` and `remote` webdriver. Some basic examples are-\n\n- Local Browser\n\nMake sure `webdriver` is already installed on your local machine.\n```python\nfrom webdriver_kaifuku import BrowserManager\n\nmanager = BrowserManager.from_conf({\"webdriver\": \"Chrome\"})\nmanager.start()\nmanager.close()\n```\n- [Selenium Container](https://github.com/RedHatQE/selenium-images)\n\n```python\nfrom webdriver_kaifuku import BrowserManager\n\nmanager_config = {\n    \"webdriver\": \"Remote\",\n    \"webdriver_options\": {\n        \"desired_capabilities\": {\"browserName\": \"firefox\"},\n        \"command_executor\": \"http://localhost:<port>\",\n    },\n}\nmanager = BrowserManager.from_conf(manager_config)\nmanager.start()\nmanager.close()\n```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Restartable webdriver instances",
    "version": "24.4.16.0",
    "project_urls": {
        "repository": "https://github.com/RedHatQE/webdriver_kaifuku"
    },
    "split_keywords": [
        "selenium"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1b9fa7925e74ee6daaa567f1983faaa0be58bf4d5a3e1b4cf95c059296b7f171",
                "md5": "73e9bbf0034414a9dbae6a18846dbd63",
                "sha256": "479f9938cfb60707e65776ed0ec9822f99e4e5f539f71f7396faed682e21c257"
            },
            "downloads": -1,
            "filename": "webdriver_kaifuku-24.4.16.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "73e9bbf0034414a9dbae6a18846dbd63",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 10582,
            "upload_time": "2024-04-16T11:02:45",
            "upload_time_iso_8601": "2024-04-16T11:02:45.091690Z",
            "url": "https://files.pythonhosted.org/packages/1b/9f/a7925e74ee6daaa567f1983faaa0be58bf4d5a3e1b4cf95c059296b7f171/webdriver_kaifuku-24.4.16.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "967876b7dc882f5c82ccf4c797ce280551aa04ff0b9538ac44fef38efc4ccca0",
                "md5": "3a1b9f044e9a3d417af64edf996a8bef",
                "sha256": "51d1cab34f3027b244e057692c8ce82ad2e83fee0b40fd5566c8b1f861be3c97"
            },
            "downloads": -1,
            "filename": "webdriver_kaifuku-24.4.16.0.tar.gz",
            "has_sig": false,
            "md5_digest": "3a1b9f044e9a3d417af64edf996a8bef",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 10352,
            "upload_time": "2024-04-16T11:02:48",
            "upload_time_iso_8601": "2024-04-16T11:02:48.211250Z",
            "url": "https://files.pythonhosted.org/packages/96/78/76b7dc882f5c82ccf4c797ce280551aa04ff0b9538ac44fef38efc4ccca0/webdriver_kaifuku-24.4.16.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-16 11:02:48",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "RedHatQE",
    "github_project": "webdriver_kaifuku",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "webdriver-kaifuku"
}
        
Elapsed time: 0.55858s