{"id":17892754,"url":"https://github.com/neetjn/pyselenium-js","last_synced_at":"2025-03-23T01:32:28.072Z","repository":{"id":62583364,"uuid":"80879087","full_name":"neetjn/pyselenium-js","owner":"neetjn","description":"Small library with javascript utilities for official Python selenium bindings, supports both Python 2.7 and 3.6.","archived":false,"fork":false,"pushed_at":"2018-07-24T15:50:55.000Z","size":370,"stargazers_count":5,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-25T03:01:52.136Z","etag":null,"topics":["angularjs","e2e-tests","html","javascript","pyselenium-js","python","selenium"],"latest_commit_sha":null,"homepage":"https://neetjn.github.io/pyselenium-js/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/neetjn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-03T23:43:55.000Z","updated_at":"2022-05-27T15:56:52.000Z","dependencies_parsed_at":"2022-11-03T21:34:32.144Z","dependency_job_id":null,"html_url":"https://github.com/neetjn/pyselenium-js","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neetjn%2Fpyselenium-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neetjn%2Fpyselenium-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neetjn%2Fpyselenium-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neetjn%2Fpyselenium-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neetjn","download_url":"https://codeload.github.com/neetjn/pyselenium-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245044129,"owners_count":20551882,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["angularjs","e2e-tests","html","javascript","pyselenium-js","python","selenium"],"created_at":"2024-10-28T14:44:16.591Z","updated_at":"2025-03-23T01:32:27.823Z","avatar_url":"https://github.com/neetjn.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pyselenium-js\n\n[![build](https://travis-ci.org/neetjn/pyselenium-js.svg?branch=master)](https://travis-ci.org/neetjn/pyselenium-js)\n[![Documentation Status](https://readthedocs.org/projects/pyselenium-js/badge/?version=latest)](http://pyselenium-js.readthedocs.io/en/latest/?badge=latest)\n[![Code Health](https://landscape.io/github/neetjn/pyselenium-js/master/landscape.svg?style=flat)](https://landscape.io/github/neetjn/pyselenium-js/master)\n[![codecov](https://codecov.io/gh/neetjn/pyselenium-js/branch/master/graph/badge.svg)](https://codecov.io/gh/neetjn/pyselenium-js)\n\n[![PyPI version](https://badge.fury.io/py/pyseleniumjs.svg)](https://badge.fury.io/py/pyseleniumjs)\n[![Join the chat at https://gitter.im/riot-view-router/Lobby](https://badges.gitter.im/riot-view-router/Lobby.svg)](https://gitter.im/riot-view-router/Lobby?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\nLightweight python module to execute frequently used javascript functionality on a Selenium webdriver.\n\nFor an all inclusive selenium framework check out [py-component-controller](https://github.com/neetjn/py-component-controller)!\n\nOfficial documentation be be read [here](http://pyselenium-js.readthedocs.io).\n\n### About\n\n**pyselenium-js** is a very simple, lightweight module that helps relieve some of the burden of e2e testing with the official Selenium bindings.\nThe official Selenium bindings operate in the most natural way a user would operate against a given web page.\nThe problem with this, is with more advanced and modern websites, these bindings may not always work as expected on custom elements or components.\n\nAn example of this being a div tag taking keyboard input, where div tags do not support the `onfocus` event listener by design -- and the selenium bindings invoke this before attempting to send input to the target DOM.\n\n### Usage\n\nThis project was created using selenium `3.12.0`.\n\nSupport is available for both Python 2.7 and 3.4+.\n\n**pyselenium-js** and can be installed using pip like so,\n\n```bash\npip install pyseleniumjs\n```\n\nFor more information refer to the official documentation [here](http://pyselenium-js.readthedocs.io).\n\n### Testing\n\nAll module related e2e tests are in the `pyselenium/tests` subdirectory. To setup your environment run `make setup`. To stand up the mock site, run `make app`. This will serve the site on `localhost:3000`. To run the test suite, use `make tests`.\n\nThe mock website was created using angular.js 1.6, bulmacss, and webpack 3. It was designed to represent a common website layout with responsive capabilities. To add new features for unit tests, refer to [pyjs-mock-site](https://github.com/neetjn/pysjs-mock-site) and be sure to update the submodule commit accordingly.\n\n*Note as of this time, tests for the Angular 2 bindings are not yet available.*\n\nRequirements:\n* Python 2.7, 3.4+ (with pip)\n* Chrome or Chromium (*last confirmed test used version 67*)\n* ChromeDriver (*last confirmed test used version 2.38.3*)\n* Node.js 6+ (with npm)\n\n### Contributors\n\n* **John Nolette** (john@neetgroup.net)\n\nContributing guidelines are as follows,\n\n* Any new features added must also be unit tested in the `pyseleniumjs/tests` subdirectory.\n  * Branches for bugs and features should be structured like so, `issue-x-username`.\n* Include your name and email in the contributors list.\n\n---\n\nCopyright (c) 2018 John Nolette Licensed under the Apache License, Version 2.0.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneetjn%2Fpyselenium-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneetjn%2Fpyselenium-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneetjn%2Fpyselenium-js/lists"}