{"id":16254292,"url":"https://github.com/celer/element34","last_synced_at":"2026-04-14T00:04:01.350Z","repository":{"id":6458556,"uuid":"7698292","full_name":"celer/element34","owner":"celer","description":"Node.js automation framework for the Selenium test framework. Element34 takes care of setting up and detecting browsers.  ","archived":false,"fork":false,"pushed_at":"2013-01-22T02:08:38.000Z","size":272,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-10T01:38:40.652Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/celer.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":"2013-01-19T02:32:49.000Z","updated_at":"2016-04-26T22:22:39.000Z","dependencies_parsed_at":"2022-08-29T02:31:18.536Z","dependency_job_id":null,"html_url":"https://github.com/celer/element34","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/celer/element34","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/celer%2Felement34","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/celer%2Felement34/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/celer%2Felement34/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/celer%2Felement34/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/celer","download_url":"https://codeload.github.com/celer/element34/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/celer%2Felement34/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262714507,"owners_count":23352463,"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":[],"created_at":"2024-10-10T15:21:01.272Z","updated_at":"2026-04-14T00:04:01.323Z","avatar_url":"https://github.com/celer.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# element34\n\nelement34 is a relatively small wrapper around selenium for nodejs\n\n## Goals\n \n * Works on MacOSX and Linux\n * Can automatically detect which browsers are available and will take the necessary steps to use them\n * Supported browsers: firefox, chrome, opera, safari, android, ios\n \n\n## Example\n\nelement34 primarily focuses on setting up the browser and performing all the necessary steps to just make things work, and when it does it will hand back\na browser object which implements the selenium API as documented here: http://seleniumhq.org/docs/02_selenium_ide.jsp#selenium-commands-selenese \n\n```javascript\n\tvar element34 = require('../index.js');\n\tvar assert = require('assert');\n\n\n\telement34.browsers(function(err,browsers){\n\t\tconsole.log(\"Installed browsers are:\",browsers);\n\t});\n\n\tvar b = new element34.chrome();\n\n\tb.open(\"http://seleniumhq.org\",function(error,browser){\n\t\tassert.equal(error,null);\n\t\tif(browser==null){\n\t\t\treturn console.error(\"Browser not found\");\n\t\t}\n\t\tbrowser.open(\"/\",function(){\n\t\t\tbrowser.getTitle(function(error,title){\n\t\t\t\tconsole.log(title);\n\t\t\t\tassert.equal(title.indexOf(\"Selenium\"),0);\n\t\t\t\tsetTimeout(function(){\n\t\t\t\t\tbrowser.close(function(){\n\t\t\t\t\t});\n\t\t\t\t},1000);\n\t\t\t});\t\n\t\t});\n\t});\n```\n\n## Installation \n\n```shell\n\tnpm install element34\n```\n\n## Browsers\n\n### Firefox\n\nFirefox should just work\n\n### Chrome\n\nelement34 will download a platform specific driver to get Chrome to work\n\n### Opera\n\nOpera should just work\n\n### Safari\n\nelement34 will prompt for the installation of a safari extension which is required for Safari to work\n\n### Android\n\nelement34 will attempt to locate the android sdk by looking in ~/  ~/Desktop/ and ANDROID_SDK for the location of the android SDK, if it is found\nthen element34 will see if any android devices are either being emulated or attached to the emulator, and if so it will install the requisite android\ntest application and connect to it. If it fails to detect an available device run 'adb devices' and see what is listed there.\n\n### iOS / iPhone / iPad\n\nUnfortunately the steps required to automate testing of iOS platforms aren't implemented yet, but if you follow the directions here and have an iOS emulator\nrunning with the WebDriver app running then element34 will attempt to connect to it and perform testing. See here for details on how to install and compile the iOS webdriver:\n\nhttp://code.google.com/p/selenium/wiki/IPhoneDriver\n\n# Known issues\n \n * The chrome driver will occasional fail to download all the required drivers, re-running it will usually work\n * It is uncertain if iOS support works, make sure your using an iOS 5.x device\n \n# License\n\t\nelement34 is under a MIT license \n\n# Attribution\n\nelement34 is based upon node-selenium-inproc by ddopson (https://github.com/ddopson/node-selenium-inproc)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fceler%2Felement34","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fceler%2Felement34","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fceler%2Felement34/lists"}