{"id":27239812,"url":"https://github.com/sesh/ghostly","last_synced_at":"2025-04-10T19:14:02.160Z","repository":{"id":43243805,"uuid":"42417691","full_name":"sesh/ghostly","owner":"sesh","description":"A really simple way to write selenium tests for your site","archived":false,"fork":false,"pushed_at":"2023-10-04T00:57:17.000Z","size":58,"stargazers_count":0,"open_issues_count":1,"forks_count":8,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-06T23:25:22.494Z","etag":null,"topics":["python","selenium","testing"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sesh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-09-14T00:03:23.000Z","updated_at":"2022-08-22T06:18:54.000Z","dependencies_parsed_at":"2023-01-25T07:15:20.481Z","dependency_job_id":null,"html_url":"https://github.com/sesh/ghostly","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/sesh%2Fghostly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sesh%2Fghostly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sesh%2Fghostly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sesh%2Fghostly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sesh","download_url":"https://codeload.github.com/sesh/ghostly/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248280386,"owners_count":21077412,"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":["python","selenium","testing"],"created_at":"2025-04-10T19:14:01.271Z","updated_at":"2025-04-10T19:14:02.153Z","avatar_url":"https://github.com/sesh.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ghostly\n\n## Installation\n\n```shell\n\u003e pip install -U git+https://github.com/sesh/ghostly\n```\n\n### Running the sample tests\n\n```shell\n\u003e ./ghostly.py google/search.yml\n```\n\n---\n\nThe actions and asserts available in ghostly are simple and straight forward. Check the source for better documentation.\n\n## Actions\n\n- load \u003curl\u003e\n- click \u003cselector\u003e\n- fill \u003cselector\u003e \u003ccontents\u003e\n- submit \u003cselector\u003e \u003ccontents\u003e\n- wait \u003ctime\u003e\n- switch_to \u003cselector\u003e\n- navigate \u003cback|forward\u003e\n- dump \u003cselector\u003e\n- screenshot \u003cfilename\u003e\n\n## Asserts\n\n- assert_text \u003ctext\u003e \u003cparent-selector\u003e\n- assert_not_text \u003ctext\u003e \u003cparent-selector\u003e\n- assert_element \u003cselector\u003e\n- assert_value \u003cselector\u003e \u003cvalue\u003e\n- assert_title \u003cvalue\u003e\n- assert_url \u003curl\u003e\n\n## Browsers\n\nCurrently ghostly supports running tests with one or more of `chrome` (via chromedriver), `firefox` and `phantomjs`.\n\n### Browser Stack\n\nUse [this form](https://www.browserstack.com/automate/python#setting-os-and-browser) to create compatible combinations\nof browser capabilities, then create a `remote` dict in your yaml file like this:\n\n```yaml\nbrowsers:\n  - remote:\n      url: \"http://\u003cusername\u003e:\u003cpassword\u003e@hub.browserstack.com:80/wd/hub\"\n      os: \"Windows\"\n      os_version: \"10\"\n      browser: \"IE\"\n      browser_version: \"11\"\n      resolution: \"1680x1050\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsesh%2Fghostly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsesh%2Fghostly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsesh%2Fghostly/lists"}