{"id":13572465,"url":"https://github.com/watir/watir","last_synced_at":"2025-04-29T21:23:32.508Z","repository":{"id":719040,"uuid":"366200","full_name":"watir/watir","owner":"watir","description":"Watir Powered By Selenium","archived":false,"fork":false,"pushed_at":"2024-05-31T14:27:21.000Z","size":8878,"stargazers_count":1535,"open_issues_count":10,"forks_count":249,"subscribers_count":72,"default_branch":"main","last_synced_at":"2025-04-28T17:56:41.853Z","etag":null,"topics":["ruby","selenium","watir"],"latest_commit_sha":null,"homepage":"http://watir.github.io","language":"Ruby","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/watir.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":"support/doctest_helper.rb","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2009-11-09T11:40:46.000Z","updated_at":"2025-04-26T15:38:04.000Z","dependencies_parsed_at":"2023-07-05T20:46:18.070Z","dependency_job_id":"450e5505-0277-441c-a473-92b0ce00393c","html_url":"https://github.com/watir/watir","commit_stats":{"total_commits":2521,"total_committers":67,"mean_commits":37.62686567164179,"dds":0.5085283617612059,"last_synced_commit":"8a2632b1201209b3e42998fa1449f7027cd2ef09"},"previous_names":[],"tags_count":141,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watir%2Fwatir","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watir%2Fwatir/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watir%2Fwatir/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watir%2Fwatir/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/watir","download_url":"https://codeload.github.com/watir/watir/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251362140,"owners_count":21577399,"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":["ruby","selenium","watir"],"created_at":"2024-08-01T14:01:23.981Z","updated_at":"2025-04-28T17:56:46.422Z","avatar_url":"https://github.com/watir.png","language":"Ruby","funding_links":[],"categories":["Ruby","Core Libraries","Uncategorized"],"sub_categories":["Ruby","Uncategorized"],"readme":"# watir\n\nWatir Powered By Selenium!\n\n[![Gem Version](https://badge.fury.io/rb/watir.svg)](http://badge.fury.io/rb/watir)\n[![Chrome Tests](https://github.com/watir/watir/actions/workflows/chrome.yml/badge.svg)](https://github.com/watir/watir/actions/workflows/chrome.yml)\n[![Edge Tests](https://github.com/watir/watir/actions/workflows/edge.yml/badge.svg)](https://github.com/watir/watir/actions/workflows/edge.yml)\n[![Firefox Tests](https://github.com/watir/watir/actions/workflows/firefox.yml/badge.svg)](https://github.com/watir/watir/actions/workflows/firefox.yml)\n[![IE Tests](https://github.com/watir/watir/actions/workflows/ie.yml/badge.svg)](https://github.com/watir/watir/actions/workflows/ie.yml)\n[![Safari Tests](https://github.com/watir/watir/actions/workflows/safari.yml/badge.svg)](https://github.com/watir/watir/actions/workflows/safari.yml)\n[![Unit Tests](https://github.com/watir/watir/actions/workflows/unit.yml/badge.svg)](https://github.com/watir/watir/actions/workflows/unit.yml)\n\n## Using Watir\n\nThis README is for people interested in writing code for Watir or gems in the Watir ecosystem\nthat leverage private-api Watir code.\n\nFor our users, everything you'll need is on the [Watir website](https://watir.github.io/):\nexamples, news, guides, additional resources, support information and more.\n\n## Procedure for Patches/Pull Requests\n\n* Fork the project.\n* Clone onto your local machine.\n* Create a new feature branch (bonus points for good names).\n* Make your feature addition or bug fix.\n* Add tests for it. This is important so we don't unintentionally break it in a future version.\n* Commit, do not change Rakefile, gemspec, or CHANGES files, we'll take care of that on release.\n* Make sure it is passing doctests.\n* Make sure it is passing rubocop.\n* Push to your forked repository.\n* Send a pull request.\n\n## Developing Extensions\n\nWhen developing a gem intended to be used with Watir, you can run your code with WatirSpec\nto make sure that requiring your code does not break something else in Watir.\n\nFirst, add WatirSpec Rake tasks to your gem:\n\n```ruby\n# Rakefile\nrequire 'watirspec/rake_tasks'\nWatirSpec::RakeTasks.new\n```\n\nSecond, initialize WatirSpec for your gem:\n\n```bash\n$ bundle exec rake watirspec:init\n```\n\nThis command will walk you through how to customize your code.\n\n## Automatic Element Generation\n\nThe majority of element methods Watir provides is autogenerated from specifications.\nThis is done by extracting the IDL parts from the spec and processing them with the\n[WebIDL gem](https://github.com/jarib/webidl).\n\nGenerated elements are currently based on the following specifications:\n\n* [HTML](https://www.w3.org/TR/2017/REC-html52-20171214/) (`lib/watir/elements/html_elements.rb`)\n* [SVG](https://www.w3.org/TR/2018/CR-SVG2-20180807/) (`lib/watir/elements/svg_elements.rb`)\n\nTo run:\n\n```bash\n$ bundle exec rake html:update\n$ bundle exec rake svg:update\n```\n\n## Specs\n\n#### Github Actions\n\nWatir specs are run with [Github Actions](https://github.com/watir/watir/tree/main/.github/workflows).\n\nWatir code is tested on Linux with latest versions of supported browsers and all active Ruby versions.\n\n#### Doctests\n\nWatir uses [yard-doctest](https://github.com/p0deje/yard-doctest) to directly test\nour documentation examples.\n\n```bash\nmkdir ~/.yard\nbundle exec yard config -a autoload_plugins yard-doctest\nrake yard:doctest\n```\n\n#### Coveralls\n\nWatir code is run through [Coveralls](https://coveralls.io/github/watir/watir) to encourage PRs\nto ensure all paths in their code have tests associated with them.\n\n#### Rubocop\n\nWatir is using [Rubocop](https://github.com/rubocop/rubocop) to ensure a consistent style across the\ncode base. It is run with our minimum supported Ruby version (2.3)\nWe have some established exceptions at `.rubocop.yml`\nthat might need to be tweaked for new code submissions. This can be addressed in the PR as necessary.\n\n#### Statistics\n\nElement specs are run with\n[Selenium Statistics gem](https://github.com/titusfortner/selenium_statistics)\nto verify that changes to the code do not dramatically decrease the performance based\non wire calls.\n\n## Copyright\n\nSee LICENSE for details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwatir%2Fwatir","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwatir%2Fwatir","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwatir%2Fwatir/lists"}