{"id":19925297,"url":"https://github.com/altwalker/python-ecommerce-selenium-conf","last_synced_at":"2026-04-18T11:35:20.102Z","repository":{"id":175423287,"uuid":"615192510","full_name":"altwalker/python-ecommerce-selenium-conf","owner":"altwalker","description":"Demo for the State Model Based Testing with Selenium workshop at SeleniumConf 2023 in Chicago.","archived":false,"fork":false,"pushed_at":"2023-03-27T21:32:36.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-01T10:30:26.008Z","etag":null,"topics":["altwalker","graphwalker","model-based-testing","python","selenium"],"latest_commit_sha":null,"homepage":"","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/altwalker.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-17T06:36:04.000Z","updated_at":"2023-04-11T21:19:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"c1e3087b-8dc7-409b-bbb7-4c4a1b788b2e","html_url":"https://github.com/altwalker/python-ecommerce-selenium-conf","commit_stats":null,"previous_names":["altwalker/python-ecommerce-selenium-conf"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/altwalker/python-ecommerce-selenium-conf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/altwalker%2Fpython-ecommerce-selenium-conf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/altwalker%2Fpython-ecommerce-selenium-conf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/altwalker%2Fpython-ecommerce-selenium-conf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/altwalker%2Fpython-ecommerce-selenium-conf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/altwalker","download_url":"https://codeload.github.com/altwalker/python-ecommerce-selenium-conf/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/altwalker%2Fpython-ecommerce-selenium-conf/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31967037,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["altwalker","graphwalker","model-based-testing","python","selenium"],"created_at":"2024-11-12T22:21:43.373Z","updated_at":"2026-04-18T11:35:20.062Z","avatar_url":"https://github.com/altwalker.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Example: Python E-commerce\n\nDemo tests to serve as a starting point for the State Model Based Testing with Selenium workshop at SeleniumConf 2023 in Chicago. \n\nThe site under test is available on GitHub pages [here](https://altwalker.github.io/jekyll-ecommerce/).\n\n## Prerequisites\n\nYou will need to have Python3 installed for this workshop. More info on that here: https://www.python.org/\n\n\n## Setup\n\nDownload or clone this repository locally, then run the following commands:\n\nLinux/MacOS:\n\n```bash\n$ cd python-ecommerce-selenium-conf\n$ python3 -m venv .venv\n$ source .venv/bin/activate\n$ pip install -r requirements.txt\n```\n\nWindows:\n\n```bash\n$ cd python-ecommerce-selenium-conf\n$ python -m venv .venv\n$ .venv/Scripts/activate.bat\n$ pip install -r requirements.txt\n```\n\nRead more about venv [here](https://docs.python.org/3/library/venv.html).\n\n#### Geckodriver\n\nDownload [geckodriver](https://github.com/mozilla/geckodriver/releases).\n\nAfter you download and extract the executable, make sure you set the path to the geckodriver executable in the Path variable to make other programs aware of its location.\n\nOn Windows:\n\n```\n$ set PATH=%PATH%;C:\\bin\\geckodriver\n```\n\nOn Linux/MacOS:\n\n```\n$ ln -s /path/to/geckodriver /usr/local/bin/geckodriver\n```\n### Run Tests\n\nTo run the tests use:\n\n```\npytest -s \n```\n\n## Prepare Setup for State Model Based Tools\n\nWe will be using AltWalker and GraphWalker to implement and run models that we create during the State Model Based Workshop. \n\n\nFor this you will need to:\n\n- Install [Java](https://jdk.java.net/19/)\n- Install and configure GraphWalker CLI using these commands:\n\non Mac/Linux\n\n```\nwget https://github.com/GraphWalker/graphwalker-project/releases/download/4.3.2/graphwalker-cli-4.3.2.jar \u0026\u0026 \\\nmkdir -p ~/graphwalker \u0026\u0026 \\\nmv graphwalker-cli-4.3.2.jar ~/graphwalker/ \u0026\u0026 \\\necho -e '#!/bin/bash\\njava -jar ~/graphwalker/graphwalker-cli-4.3.2.jar \"$@\"' \u003e ~/graphwalker/graphwalker-cli.sh \u0026\u0026 \\\nchmod +x ~/graphwalker/graphwalker-cli.sh \u0026\u0026 \\\nln -s ~/graphwalker/graphwalker-cli.sh /usr/local/bin/gw\n```\n\nand on Windows:\n\n```\nsetx PATH \"%PATH%;C:\\graphwalker\" \u0026 :: Adds graphwalker to current user PATH\ncd C:\\\nmkdir graphwalker\ncd graphwalker\npowershell -Command \"[Net.ServicePointManager]::SecurityProtocol = 'tls12'; Invoke-WebRequest -Uri 'https://github.com/GraphWalker/graphwalker-project/releases/download/4.3.2/graphwalker-cli-4.3.2.jar' -outfile 'graphwalker-cli-4.3.2.jar'\" \u0026 :: Downloads graphwalker using powershell command Invoke-Request\n@echo off\n@echo @echo off\u003e gw.bat\n@echo java -jar C:\\graphwalker\\graphwalker-cli-4.3.2.jar %*\u003e\u003e gw.bat\n@echo on\n```\n\n\nTo check that you GraphWalker correctly configured, run the following command and check that you get the same version:\n\n```\n$ gw --version\norg.graphwalker version: 4.3.2-408d9b4\n\norg.graphwalker is open source software licensed under MIT license\nThe software (and it's source) can be downloaded from http://graphwalker.org\nFor a complete list of this package software dependencies, see http://graphwalker.org/archive/site/graphwalker-cli/dependencies.html\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faltwalker%2Fpython-ecommerce-selenium-conf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faltwalker%2Fpython-ecommerce-selenium-conf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faltwalker%2Fpython-ecommerce-selenium-conf/lists"}