{"id":15144622,"url":"https://github.com/jimpriest/robotframework-preso","last_synced_at":"2025-10-23T22:30:55.459Z","repository":{"id":54724982,"uuid":"208642455","full_name":"jimpriest/robotframework-preso","owner":"jimpriest","description":"Introduction to Robot Framework - TriTAUG Presentation","archived":false,"fork":false,"pushed_at":"2021-02-02T15:04:50.000Z","size":2268,"stargazers_count":14,"open_issues_count":1,"forks_count":13,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-30T21:11:46.013Z","etag":null,"topics":["chromium","dockerfile","presentation","robot-framework","selenium"],"latest_commit_sha":null,"homepage":null,"language":"RobotFramework","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jimpriest.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":"2019-09-15T18:59:58.000Z","updated_at":"2023-03-28T02:29:02.000Z","dependencies_parsed_at":"2022-08-14T00:50:52.045Z","dependency_job_id":null,"html_url":"https://github.com/jimpriest/robotframework-preso","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/jimpriest%2Frobotframework-preso","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jimpriest%2Frobotframework-preso/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jimpriest%2Frobotframework-preso/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jimpriest%2Frobotframework-preso/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jimpriest","download_url":"https://codeload.github.com/jimpriest/robotframework-preso/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237890775,"owners_count":19382562,"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":["chromium","dockerfile","presentation","robot-framework","selenium"],"created_at":"2024-09-26T10:42:40.147Z","updated_at":"2025-10-23T22:30:50.038Z","avatar_url":"https://github.com/jimpriest.png","language":"RobotFramework","funding_links":[],"categories":[],"sub_categories":[],"readme":"# README\n\nLightweight Alpine Docker container that runs Robot Framework using Selenium Chrome (Chromium) driver in native headless mode (no Xvfb required).\n\n## What is this repository for?\n\nThis repository has a Dockerfile that creates a container to run Robot Framework scripts locally, avoiding the hassles of setting up Python and Robot Framework locally.\n\n## Versioning\n\n* robotframework: latest\n* robotframework-seleniumlibrary: latest\n* robotframework-faker: latest\n* Chrome webdriver: latest\n* Chromium browser: latest\n\n## Pre-requisites\n\nDocker should be already installed and running.\n\n## Assumptions\n\nAll of the helper scripts here are written for Mac/Linux in bash.  It should be possible to translate these over to a Windows equivilant or possibly use WSL (Windows Subsystem For Linux) to run these.\n\n## Setup\n\n### 1) Create docker image and shared volume:\n\n```\n./build\n```\n\nThis creates an image based on the Dockerfile and creates a container running Robot Framework.\n\n\n### 2) Set test path\n\nOpen robot.sh and set the TEST_PATH to point to the directory where your Robot tests live. By default the example tests in /test will be run. \nNote: Changes made to robot.sh do *not* require rebuilding as it runs locally.\n\n\n### 3) Run Robot tests:\n\n```\n./robot.sh\n```\n\nThis creates a new container, it will run any Robot Suite that is defined in your test directory (defined in step 2).\n\nTest results (logs, reports and screenshots) will be stored in a /results directory.  --outputdir is configured in robot.sh. \n\nYou should see results in the console:\n\n```\n./robot.sh \n==============================================================================\nRobot                                                                         \n==============================================================================\nRobot.Test                                                                    \n==============================================================================\nRobot.Test.Open                                                               \n==============================================================================\nOpen Site                                                             | PASS |\n------------------------------------------------------------------------------\nRobot.Test.Open                                                       | PASS |\n1 critical test, 1 passed, 0 failed\n1 test total, 1 passed, 0 failed\n==============================================================================\nRobot.Test                                                            | PASS |\n1 critical test, 1 passed, 0 failed\n1 test total, 1 passed, 0 failed\n==============================================================================\nRobot                                                                 | PASS |\n1 critical test, 1 passed, 0 failed\n1 test total, 1 passed, 0 failed\n==============================================================================\nOutput:  /robot/results/output.xml\nLog:     /robot/results/log.html\nReport:  /robot/results/report.html\n```\n\n## Maintenance\n\nRemove any containers and images related to this Dockerfile!  After running this you will need to rebuild your image.\n\n```\n./remove\n```\n\nThis will cleanup files from /results. Handy to run between tests.\n\n```\n./cleanup\n```\n\nNote each time you run a test a new container is created.  To clean these up simply run:\n\n```\ndocker container prune\n```\n\n\n## Sending additional arguments to Robot ##\n\nYou can send parameters as part of Robot.sh script\n\ne.g.\n```\n./robot.sh -v URL:https://www.amazon.com \n```\n\nThis is sent to the container like this:\n\n```\nrobot -v URL:https://www.amazon.com \n```\n\n## Running Sample Tests\n\nPass a suite directory to Robot command:\n\n```\n ./robot.sh --suite a-simple\n```\n\nExamine the /results directory after running tests to see logs, results and screenshots.\n\n## Credits\n\nThis was original forked and heavily modified from: https://github.com/cgowez/robot-docker\n\nFound a work around for Chrome error in headless mode here which eliminates the '--no-sandbox' option: https://github.com/Zenika/alpine-chrome\n\n## Suggested VSCode Extensions\n\n* [HTML Preview](https://marketplace.visualstudio.com/items?itemName=george-alisson.html-preview-vscode)\n* [Robot Framework Intellisense](https://marketplace.visualstudio.com/items?itemName=TomiTurtiainen.rf-intellisense)\n* [Docker](https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-docker)\n\n## Disclaimer\n\n* I built this for my own personal use.  YMMV. \n* It works on my system :)\n* It is pitch black. You are likely to be eaten by a grue.\n\n\n## License\n\nThis is free and unencumbered software released into the public domain.\n\nAnyone is free to copy, modify, publish, use, compile, sell, or\ndistribute this software, either in source code form or as a compiled\nbinary, for any purpose, commercial or non-commercial, and by any\nmeans.\n\nIn jurisdictions that recognize copyright laws, the author or authors\nof this software dedicate any and all copyright interest in the\nsoftware to the public domain. We make this dedication for the benefit\nof the public at large and to the detriment of our heirs and\nsuccessors. We intend this dedication to be an overt act of\nrelinquishment in perpetuity of all present and future rights to this\nsoftware under copyright law.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR\nOTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\nARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\nOTHER DEALINGS IN THE SOFTWARE.\n\nFor more information, please refer to \u003chttp://unlicense.org\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjimpriest%2Frobotframework-preso","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjimpriest%2Frobotframework-preso","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjimpriest%2Frobotframework-preso/lists"}