extended-selenium-page-factory


Nameextended-selenium-page-factory JSON
Version 0.7b0 PyPI version JSON
download
home_pagehttps://github.com/alexgorji/extendedseleniumpagefactory.git
SummaryExtension for page factory.
upload_time2024-01-16 14:36:51
maintainer
docs_urlNone
authorAlex Gorji
requires_python
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            An extension for PageFactory class (selenium-page-factory)

Main class:

**ExtendedPageFactory(AssertPageMixin, NavLocatorsMixin, FormButtonsMixin, PageFactory)**

Mixins:

**AssertPageMixin** (title) -> Checks if the current page has the same title as given. The "assert_page" method verifies
if the title of the html page is the same as the title property of this class. It accepts a string as its argument
title_extension which will be concatenated to the title property.

**NavLocatorsMixin** (nav_locators) -> Provides a class attribute to be added to PageFactory attribute locators. This is
a convenient way to add common navbar locators to several Page classes.

**FormButtonsMixin** (form_buttons) -> Provides a list of form inputs such as save (value='Save'), save_and_new (
value='Save & New'), delete (value='Delete') etc. as a class attribute (form_buttons=[save, save_and_new, delete]). If
a tuple is given the second value indicates the locator. For example if the cancel button is in reality a
link: `<a href="">Cancel</a>`, add (cancel, "LINK_TEXT") to form_buttons.


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/alexgorji/extendedseleniumpagefactory.git",
    "name": "extended-selenium-page-factory",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "Alex Gorji",
    "author_email": "aligorji@hotmail.com",
    "download_url": "https://files.pythonhosted.org/packages/60/d8/c8f8bb104fe14e41f97e793caadae75f11b3c66cd07591aa7cbaa831912a/extended-selenium-page-factory-0.7b0.tar.gz",
    "platform": null,
    "description": "An extension for PageFactory class (selenium-page-factory)\n\nMain class:\n\n**ExtendedPageFactory(AssertPageMixin, NavLocatorsMixin, FormButtonsMixin, PageFactory)**\n\nMixins:\n\n**AssertPageMixin** (title) -> Checks if the current page has the same title as given. The \"assert_page\" method verifies\nif the title of the html page is the same as the title property of this class. It accepts a string as its argument\ntitle_extension which will be concatenated to the title property.\n\n**NavLocatorsMixin** (nav_locators) -> Provides a class attribute to be added to PageFactory attribute locators. This is\na convenient way to add common navbar locators to several Page classes.\n\n**FormButtonsMixin** (form_buttons) -> Provides a list of form inputs such as save (value='Save'), save_and_new (\nvalue='Save & New'), delete (value='Delete') etc. as a class attribute (form_buttons=[save, save_and_new, delete]). If\na tuple is given the second value indicates the locator. For example if the cancel button is in reality a\nlink: `<a href=\"\">Cancel</a>`, add (cancel, \"LINK_TEXT\") to form_buttons.\n\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Extension for page factory.",
    "version": "0.7b0",
    "project_urls": {
        "Homepage": "https://github.com/alexgorji/extendedseleniumpagefactory.git"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "76505a9a625a18f733cec3e87e3da72e0bed28cccbf654dbf42d6b598bf0939c",
                "md5": "7ebd791e3d1c402f7f7c055bf7b72c72",
                "sha256": "312b684ff84242f5408bd3d5ab4062cf9138cadd7252ad2cf5ccf70b72be9148"
            },
            "downloads": -1,
            "filename": "extended_selenium_page_factory-0.7b0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "7ebd791e3d1c402f7f7c055bf7b72c72",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 3024,
            "upload_time": "2024-01-16T14:36:49",
            "upload_time_iso_8601": "2024-01-16T14:36:49.479770Z",
            "url": "https://files.pythonhosted.org/packages/76/50/5a9a625a18f733cec3e87e3da72e0bed28cccbf654dbf42d6b598bf0939c/extended_selenium_page_factory-0.7b0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "60d8c8f8bb104fe14e41f97e793caadae75f11b3c66cd07591aa7cbaa831912a",
                "md5": "6c27b7ed2f78f3d75dadef3b22ff5f6d",
                "sha256": "3d9028662a62aa410397a2c35acb63621da7ab276855426fff2ca3b9d4591873"
            },
            "downloads": -1,
            "filename": "extended-selenium-page-factory-0.7b0.tar.gz",
            "has_sig": false,
            "md5_digest": "6c27b7ed2f78f3d75dadef3b22ff5f6d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 2573,
            "upload_time": "2024-01-16T14:36:51",
            "upload_time_iso_8601": "2024-01-16T14:36:51.540167Z",
            "url": "https://files.pythonhosted.org/packages/60/d8/c8f8bb104fe14e41f97e793caadae75f11b3c66cd07591aa7cbaa831912a/extended-selenium-page-factory-0.7b0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-16 14:36:51",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "alexgorji",
    "github_project": "extendedseleniumpagefactory",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "test_requirements": [
        {
            "name": "pytest-django",
            "specs": []
        },
        {
            "name": "Django",
            "specs": [
                [
                    "==",
                    "4.2"
                ]
            ]
        }
    ],
    "tox": true,
    "lcname": "extended-selenium-page-factory"
}
        
Elapsed time: 0.17265s