{"id":21944849,"url":"https://github.com/browserstack/automate-python-samples","last_synced_at":"2025-10-25T22:07:18.505Z","repository":{"id":9624696,"uuid":"11552838","full_name":"browserstack/automate-python-samples","owner":"browserstack","description":"Sample behave, lettuce, nose, unit, py.test code for running selenium with BrowserStack Automate","archived":false,"fork":false,"pushed_at":"2023-07-03T14:54:41.000Z","size":41,"stargazers_count":38,"open_issues_count":2,"forks_count":32,"subscribers_count":30,"default_branch":"master","last_synced_at":"2025-04-22T21:06:34.046Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.browserstack.com/automate/python","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/browserstack.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-07-20T20:46:55.000Z","updated_at":"2025-03-02T03:24:47.000Z","dependencies_parsed_at":"2022-09-17T06:23:00.186Z","dependency_job_id":null,"html_url":"https://github.com/browserstack/automate-python-samples","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/browserstack%2Fautomate-python-samples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browserstack%2Fautomate-python-samples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browserstack%2Fautomate-python-samples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browserstack%2Fautomate-python-samples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/browserstack","download_url":"https://codeload.github.com/browserstack/automate-python-samples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250324689,"owners_count":21411946,"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":[],"created_at":"2024-11-29T04:17:15.773Z","updated_at":"2025-10-25T22:07:13.467Z","avatar_url":"https://github.com/browserstack.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# automate-python-samples\n\nDocumentation for writing Automate test scripts in Python.\n\nMaster branch contains **Selenium 3** samples, for **Selenium 4 - W3C protocol** please checkout [selenium-4](https://github.com/browserstack/automate-python-samples/tree/selenium-4) branch\n\n\n## Environment variables\nTo test various sample repositories with ease, it is recommended to setup `BROWSERSTACK_USERNAME` and `BROWSERSTACK_ACCESS_KEY` environment variables. Alternatively you can directly update the samples with the credentials or pass the appropriate command line parameters.\n\n## Install Python\n\n### For Windows:\n\n - Download the latest python build for windows - https://www.python.org/downloads/windows/\n - Run the installer exe and follow the instructions to install python.\n\n### For Mac and Linux:\n\n - Run python --version to see what python version is installed and make sure it is 3.X and above.\n - Mac OS, Ubuntu and many flavors of linux come with pre-installed python.\n\n## Install Selenium\n\n### For Unix:\n```\nsudo easy_install selenium\n```\n\n### For Windows:\n```\neasy_install selenium\n```\n\nIf you prefer pip, then use the following command:\n```\nsudo pip install selenium\n```\n\nIf pip is not installed, you can install it using:\n```\nsudo easy_install pip\n```\n\nFor Python frameworks samples and integrations with BrowserStack, refer to their individual repositories - \n\n- [Behave](https://github.com/browserstack/behave-browserstack)\n- [Lettuce](https://github.com/browserstack/lettuce-browserstack)\n- [Salad](https://github.com/browserstack/salad-browserstack)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrowserstack%2Fautomate-python-samples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrowserstack%2Fautomate-python-samples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrowserstack%2Fautomate-python-samples/lists"}