{"id":15935518,"url":"https://github.com/jdenen/watir-ng","last_synced_at":"2025-10-06T02:15:08.166Z","repository":{"id":30596447,"uuid":"34151605","full_name":"jdenen/watir-ng","owner":"jdenen","description":"Identify watir-webdriver elements with ng directives","archived":false,"fork":false,"pushed_at":"2017-08-31T17:42:24.000Z","size":31,"stargazers_count":5,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-01T11:57:45.209Z","etag":null,"topics":["angular","ruby","testing","watir","webdriver"],"latest_commit_sha":null,"homepage":null,"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/jdenen.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2015-04-18T03:57:21.000Z","updated_at":"2019-06-18T13:02:27.000Z","dependencies_parsed_at":"2022-08-19T11:20:52.513Z","dependency_job_id":null,"html_url":"https://github.com/jdenen/watir-ng","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/jdenen/watir-ng","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdenen%2Fwatir-ng","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdenen%2Fwatir-ng/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdenen%2Fwatir-ng/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdenen%2Fwatir-ng/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jdenen","download_url":"https://codeload.github.com/jdenen/watir-ng/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdenen%2Fwatir-ng/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278547821,"owners_count":26004775,"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","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"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":["angular","ruby","testing","watir","webdriver"],"created_at":"2024-10-07T03:42:52.643Z","updated_at":"2025-10-06T02:15:08.136Z","avatar_url":"https://github.com/jdenen.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# watir-ng\n[![Gem Version](https://badge.fury.io/rb/watir-ng.svg)](http://badge.fury.io/rb/watir-ng)\n[![Build Status](https://travis-ci.org/jdenen/watir-ng.svg?branch=master)](https://travis-ci.org/jdenen/watir-ng)\n\nIdentify [watir-webdriver](http://github.com/watir/watir-webdriver) elements with AngularJS [ng](https://docs.angularjs.org/api/ng/directive) directives.\n\n## Usage\n\nWhen identifying elements, use the `ng` directives like you would `id`, `class`, etc. Be sure to use underscores instead of dashes though!\n\nAs of version `2.1.0`, this gem requires Ruby \u003e= 2.0.\n\n```ruby\n# To find and click this HTML element:\n#     \u003cbutton ng-click=\"foo\"\u003eSubmit\u003c/button\u003e\n\nsubmit_button = @browser.button(ng_click: \"foo\")\nsubmit_button.click\n```\n\nTo ensure your browser objects have access to the ng identifiers, run `patch!` before instantiating.\n\n```ruby\nrequire 'watir-ng'\n\nWatirNg.patch!\n\n@browser = Watir::Browser.new\n```\n\nYou can identify elements with custom directives by registering them before patching the browser.\n\n```ruby\nrequire 'watir-ng'\n\nWatirNg.register(:ng_foo, :ng_bar).patch!\n\n@browser = Watir::Browser.new\n```\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n    gem 'watir-ng'\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself with:\n\n    $ gem install watir-ng\n\n## Contributing\n\n1. Fork it ( http://github.com/jdenen/watir-ng/fork )\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n\n## Questions, Comments, Concerns\n\nFind me on Twitter ([@metaxjohnson](http://twitter.com/metaxjohnson)), gitter ([@jdenen](http://gitter.im/jdenen)), or write up an [issue](https://github.com/jdenen/watir-ng/issues/new).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdenen%2Fwatir-ng","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjdenen%2Fwatir-ng","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdenen%2Fwatir-ng/lists"}