{"id":18232029,"url":"https://github.com/commercetest/selenium-for-galene","last_synced_at":"2026-05-01T13:31:12.429Z","repository":{"id":260694585,"uuid":"882039437","full_name":"commercetest/selenium-for-galene","owner":"commercetest","description":"Spike to explore using Selenium to test Galene","archived":false,"fork":false,"pushed_at":"2024-11-01T21:24:20.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-08T11:18:08.916Z","etag":null,"topics":["galene","selenium","selenium-webdriver"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/commercetest.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-01T18:50:21.000Z","updated_at":"2024-11-01T21:24:24.000Z","dependencies_parsed_at":"2024-11-01T22:36:25.262Z","dependency_job_id":null,"html_url":"https://github.com/commercetest/selenium-for-galene","commit_stats":null,"previous_names":["commercetest/selenium-for-galene"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/commercetest/selenium-for-galene","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commercetest%2Fselenium-for-galene","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commercetest%2Fselenium-for-galene/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commercetest%2Fselenium-for-galene/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commercetest%2Fselenium-for-galene/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/commercetest","download_url":"https://codeload.github.com/commercetest/selenium-for-galene/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commercetest%2Fselenium-for-galene/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32499681,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":["galene","selenium","selenium-webdriver"],"created_at":"2024-11-04T13:03:04.619Z","updated_at":"2026-05-01T13:31:12.408Z","avatar_url":"https://github.com/commercetest.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A Spike for testing Galene using Selenium\n\nGalene currently does not have any browser-based automated tests. This project is a Spike (an experiment) to explore the feasibility and utility for creating various browser-based tests for testing the browser-based functionality of Galene. If it's sufficiently useful it might be integrated into Galene, for now though it's standalone to keep that codebase clear of these experiments.\n\n## Expectations include\nThis code has various expectations, including the following list of software to be installed and available locally\n\n- \u003chttps://github.com/tebeka/selenium\u003e and \u003chttps://pkg.go.dev/github.com/tebeka/selenium\u003e\n- \u003chttps://github.com/jech/galene\u003e will be run locally with a self-signed certificate for SSL connections. This necessitates allowing these certificates in the tests, described in the firefox docs \u003chttps://developer.mozilla.org/en-US/docs/Web/WebDriver/Capabilities/acceptInsecureCerts\u003e and here implemented in Go.\n- \u003chttps://github.com/mozilla/geckodriver\u003e which may already be installed in some operating systems such as Ubuntu when Firefox is installed.\n- Selenium Standalone server \u003chttps://www.selenium.dev/downloads/\u003e. Download the current release of Selenium Grid and run it locally using java.\n\n## Usage example\nNote: this is experimental and subject to breaking changes\n\nStart Selenium Grid in standalone mode\n```\njava -jar selenium-server-4.26.0.jar standalone\n```\nRun the automated tests locally once Galene has been started\n```\ngo test -v\n```\nA firefox instance should start and run briefly and the program should then complete after outputting something similar to:\n```\n=== RUN   TestBrowserUsingSelenium\n--- PASS: TestBrowserUsingSelenium (6.03s)\nPASS\nok  \twebservertest.com/myserver\t6.037s\n```\n\n## Further reading\nThere's a helpful worked step-by-step example of using Selenium in Golang at \u003chttps://www.zenrows.com/blog/selenium-golang\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcommercetest%2Fselenium-for-galene","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcommercetest%2Fselenium-for-galene","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcommercetest%2Fselenium-for-galene/lists"}