{"id":15144472,"url":"https://github.com/grandel-dsouza/robot-framework_with_python_for_browserstack","last_synced_at":"2025-10-23T22:30:37.747Z","repository":{"id":192836172,"uuid":"687519206","full_name":"grandEL-dsouza/Robot-framework_with_Python_for_Browserstack","owner":"grandEL-dsouza","description":"This is a sample code snippet for Robot framework with Python is written by GrandEL, to run Automated cross Browser and cross platform testing on Browserstack","archived":false,"fork":false,"pushed_at":"2023-09-05T14:51:35.000Z","size":8,"stargazers_count":17,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-09-26T10:41:27.067Z","etag":null,"topics":["automated-testing","browserstack","browserstack-automate","grandel","grandeldsouza","python","robotframework","selenium"],"latest_commit_sha":null,"homepage":"","language":"RobotFramework","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/grandEL-dsouza.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,"governance":null}},"created_at":"2023-09-05T14:18:03.000Z","updated_at":"2024-08-30T14:37:48.000Z","dependencies_parsed_at":"2023-10-23T06:00:26.472Z","dependency_job_id":null,"html_url":"https://github.com/grandEL-dsouza/Robot-framework_with_Python_for_Browserstack","commit_stats":null,"previous_names":["grandel-dsouza/robot-framework_with_python_for_browserstack"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grandEL-dsouza%2FRobot-framework_with_Python_for_Browserstack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grandEL-dsouza%2FRobot-framework_with_Python_for_Browserstack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grandEL-dsouza%2FRobot-framework_with_Python_for_Browserstack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grandEL-dsouza%2FRobot-framework_with_Python_for_Browserstack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/grandEL-dsouza","download_url":"https://codeload.github.com/grandEL-dsouza/Robot-framework_with_Python_for_Browserstack/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219874567,"owners_count":16554594,"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":["automated-testing","browserstack","browserstack-automate","grandel","grandeldsouza","python","robotframework","selenium"],"created_at":"2024-09-26T10:41:31.744Z","updated_at":"2025-10-23T22:30:37.405Z","avatar_url":"https://github.com/grandEL-dsouza.png","language":"RobotFramework","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BrowserStack Integration with Robot Framework Selenium 4 (Python)\n\n## Prerequisite\n```\npython3 should be installed\n```\n\n## Setup\n* Clone the repo \n  ```\n  git clone -b sdk https://github.com/browserstack/robot-browserstack.git\n  ```\n* It is recommended to use a virtual environment to install dependencies. To create a virtual environment:\n  ```\n  python3 -m venv env\n  source env/bin/activate # on Mac\n  env\\Scripts\\activate # on Windows\n  ```\n* Install dependencies \n  ```\n  pip install -r requirements.txt\n  ```  \n\n## Set BrowserStack Credentials\n* Add your BrowserStack username and access key in the `browserstack.yml` config fle.\n* You can also export them as environment variables, `BROWSERSTACK_USERNAME` and `BROWSERSTACK_ACCESS_KEY`:\n\n  #### For Linux/MacOS\n    ```\n    export BROWSERSTACK_USERNAME=\u003cbrowserstack-username\u003e\n    export BROWSERSTACK_ACCESS_KEY=\u003cbrowserstack-access-key\u003e\n    ```\n  #### For Windows\n    ```\n    set BROWSERSTACK_USERNAME=\u003cbrowserstack-username\u003e\n    set BROWSERSTACK_ACCESS_KEY=\u003cbrowserstack-access-key\u003e\n    \n    setx BROWSERSTACK_USERNAME=\u003cbrowserstack-username\u003e\n    setx BROWSERSTACK_ACCESS_KEY=\u003cbrowserstack-access-key\u003e\n    ```\n\n## Running tests\n\n* To run sample tests:\n  - To run the sample tests in parallel across the platforms defined in the `browserstack.yml` file, run:\n    ```\n    browserstack-sdk robot ./tests/test-*.robot\n    ```\n* To run tests on locally hosted websites:\n  - To run the local test in parallel across the platforms defined in the `browserstack.yml` file, run:\n    ```\n    browserstack-sdk robot ./tests/local-test.robot\n    ```\n\nUnderstand how many parallel sessions you need by using our [Parallel Test Calculator](https://www.browserstack.com/automate/parallel-calculator?ref=github)\n\n## Additional Resources\n* [Documentation for writing Automate test scripts in Python](https://www.browserstack.com/automate/python)\n* [Customizing your tests on BrowserStack](https://www.browserstack.com/automate/capabilities)\n* [Browsers \u0026 mobile devices for selenium testing on BrowserStack](https://www.browserstack.com/list-of-browsers-and-platforms?product=automate)\n* [Using REST API to access information about your tests via the command-line interface](https://www.browserstack.com/automate/rest-api)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrandel-dsouza%2Frobot-framework_with_python_for_browserstack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrandel-dsouza%2Frobot-framework_with_python_for_browserstack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrandel-dsouza%2Frobot-framework_with_python_for_browserstack/lists"}