{"id":28452931,"url":"https://github.com/marketsquare/robotframework-seleniumlibrary-java","last_synced_at":"2025-06-27T23:31:40.702Z","repository":{"id":8928613,"uuid":"10658763","full_name":"MarketSquare/robotframework-seleniumlibrary-java","owner":"MarketSquare","description":"Java port of the Python based SeleniumLibrary for Robot Framework","archived":true,"fork":false,"pushed_at":"2025-01-25T17:12:23.000Z","size":806,"stargazers_count":23,"open_issues_count":7,"forks_count":16,"subscribers_count":13,"default_branch":"develop","last_synced_at":"2025-06-06T18:13:10.948Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MarketSquare.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-06-13T04:31:20.000Z","updated_at":"2025-02-02T18:54:20.000Z","dependencies_parsed_at":"2022-09-26T21:41:12.892Z","dependency_job_id":null,"html_url":"https://github.com/MarketSquare/robotframework-seleniumlibrary-java","commit_stats":null,"previous_names":[],"tags_count":63,"template":false,"template_full_name":null,"purl":"pkg:github/MarketSquare/robotframework-seleniumlibrary-java","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarketSquare%2Frobotframework-seleniumlibrary-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarketSquare%2Frobotframework-seleniumlibrary-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarketSquare%2Frobotframework-seleniumlibrary-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarketSquare%2Frobotframework-seleniumlibrary-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MarketSquare","download_url":"https://codeload.github.com/MarketSquare/robotframework-seleniumlibrary-java/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarketSquare%2Frobotframework-seleniumlibrary-java/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262351520,"owners_count":23297633,"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":"2025-06-06T18:13:10.501Z","updated_at":"2025-06-27T23:31:40.261Z","avatar_url":"https://github.com/MarketSquare.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e [!WARNING]  \n\u003e Repository is not currently maintained. Version released on 25th of January will probably be last one for this library as it has mostly lost it's meaning after Robot Framework dropped Jython support (due to dropping support for Python 2)\n\u003e \n\u003e If you're interested of starting to maintain this library please check [MarketSquare](https://marketsquare.github.io/) and create issue to there.\n\u003e \n\u003e Repository will be archived for time being to make this very clear.\n\n# Java port of the Python based SeleniumLibrary for Robot Framework\n\n## Introduction\n\nSeleniumLibrary is a web testing library for Robot Framework that leverages\nthe Selenium libraries from the [Selenium](http://docs.seleniumhq.org) project.\n\nVersion number follows Selenium's version numbers (first 3 numbers), and 4th number is reserved for e.g. issue fixes.\n\nThis Java version of SeleniumLibrary exists because of easier dependency management when Robot Framework is used in Java-projects. Library is a quite direct alternative to the Python SeleniumLibrary.\n\n## Usage, Selenium 4\n\nIf you are using the robotframework-maven-plugin you can\nuse this library by adding the following dependency to\nyour pom.xml:\n\n    \u003cdependency\u003e\n        \u003cgroupId\u003ecom.github.marketsquare\u003c/groupId\u003e\n        \u003cartifactId\u003erobotframework-seleniumlibrary\u003c/artifactId\u003e\n        \u003cversion\u003e4.28.1.0\u003c/version\u003e\n        \u003cscope\u003etest\u003c/scope\u003e\n    \u003c/dependency\u003e\n\nIf you cannot use the robotframework-maven-plugin you can use the\n[jar-with-dependencies](https://repo1.maven.org/maven2/com/github/marketsquare/robotframework-seleniumlibrary/4.28.1.0/robotframework-seleniumlibrary-4.28.1.0-jar-with-dependencies.jar),\nwhich contains all required libraries except ios/android ones (Appium). Running of tests with this can be done with command `java -jar robotframework-seleniumlibrary-4.28.1.0-jar-with-dependencies.jar \u003ctest location\u003e`.\n\n- More information about this library can be found in the\n  [Keyword Documentation](https://repo1.maven.org/maven2/com/github/marketsquare/robotframework-seleniumlibrary/4.28.1.0/robotframework-seleniumlibrary-4.28.1.0.html).\n- For keyword completion in RIDE you can download this\n  [Library Specs](https://repo1.maven.org/maven2/com/github/marketsquare/robotframework-seleniumlibrary/4.28.1.0/robotframework-seleniumlibrary-4.28.1.0.xml)\n  and place it in your PYTHONPATH.\n\n## Old versions\n\n### Usage, Selenium 2\n\nIf you are using the robotframework-maven-plugin you can\nuse this library by adding the following dependency to\nyour pom.xml:\n\n    \u003cdependency\u003e\n        \u003cgroupId\u003ecom.github.hi-fi\u003c/groupId\u003e\n        \u003cartifactId\u003erobotframework-seleniumlibrary\u003c/artifactId\u003e\n        \u003cversion\u003e2.53.1.1\u003c/version\u003e\n        \u003cscope\u003etest\u003c/scope\u003e\n    \u003c/dependency\u003e\n\nIf you cannot use the robotframework-maven-plugin you can use the\n[jar-with-dependencies](https://repo1.maven.org/maven2/com/github/hi-fi/robotframework-seleniumlibrary/2.53.1.1/robotframework-seleniumlibrary-2.53.1.1-jar-with-dependencies.jar),\nwhich contains all required libraries.\n\n- More information about this library can be found in the\n  [Keyword Documentation](https://repo1.maven.org/maven2/com/github/hi-fi/robotframework-seleniumlibrary/2.53.1.1/robotframework-seleniumlibrary-2.53.1.1.html).\n- For keyword completion in RIDE you can download this\n  [Library Specs](https://repo1.maven.org/maven2/com/github/hi-fi/robotframework-seleniumlibrary/2.53.1.1/robotframework-seleniumlibrary-2.53.1.1.xml)\n  and place it in your PYTHONPATH.\n\n### Usage, Selenium 3\n\nIf you are using the robotframework-maven-plugin you can\nuse this library by adding the following dependency to\nyour pom.xml:\n\n    \u003cdependency\u003e\n        \u003cgroupId\u003ecom.github.hi-fi\u003c/groupId\u003e\n        \u003cartifactId\u003erobotframework-seleniumlibrary\u003c/artifactId\u003e\n        \u003cversion\u003e3.141.59.26535\u003c/version\u003e\n        \u003cscope\u003etest\u003c/scope\u003e\n    \u003c/dependency\u003e\n\nIf you cannot use the robotframework-maven-plugin you can use the\n[jar-with-dependencies](https://repo1.maven.org/maven2/com/github/hi-fi/robotframework-seleniumlibrary/3.141.59.26535/robotframework-seleniumlibrary-3.141.59.26535-jar-with-dependencies.jar),\nwhich contains all required libraries. Running of tests with this can be done with command `java -jar robotframework-seleniumlibrary-3.141.59.26535-jar-with-dependencies.jar \u003ctest location\u003e`.\n\n- More information about this library can be found in the\n  [Keyword Documentation](https://repo1.maven.org/maven2/com/github/hi-fi/robotframework-seleniumlibrary/3.141.59.26535/robotframework-seleniumlibrary-3.141.59.26535.html).\n- For keyword completion in RIDE you can download this\n  [Library Specs](https://repo1.maven.org/maven2/com/github/hi-fi/robotframework-seleniumlibrary/3.141.59.26535/robotframework-seleniumlibrary-3.141.59.26535.xml)\n  and place it in your PYTHONPATH.\n\n## Testing IOS/Android browsers with library\n\nPre-Selenium 4 fat-jar contained Appium and Selendroid that allowed testing of IOS and Android browsers. Those are dropped in Selenium 4 -versions,\nso dependencies needs to be handles self with either Maven/Gradle or manually. Also 4.28.1.0 version of the library moved purely to Appium. If there's need to have fat-jar with those, please create issue about that.\n\n## Differences\n\n- Some keyword differences between this and [Python version](https://github.com/robotframework/SeleniumLibrary) exists. (Same) keywords should be aligned in upcoming versions.\n- Older version of the library was imported as `Library Selenium2Library` (both Java and Python versions).\n  Since 2.53.1.1 (and later major versions) import is done as `Library SeleniumLibrary`\n\n## Browser drivers\n\nAfter installing the library, you still need to install browser and\noperating system specific browser drivers for all those browsers you\nwant to use in tests. These are the exact same drivers you need to use with\nSelenium also when not using SeleniumLibrary. More information about\ndrivers can be found from [Selenium documentation](https://seleniumhq.github.io/selenium/docs/api/py/index.html#drivers).\n\nThe general approach to install a browser driver is downloading a right\ndriver, such as `chromedriver` for Chrome, and placing it into\na directory that is in [PATH](\u003chttps://en.wikipedia.org/wiki/PATH_(variable)\u003e). Drivers for different browsers\ncan be found via Selenium documentation or by using your favorite\nsearch engine with a search term like `selenium chrome browser driver`.\nNew browser driver versions are released to support features in\nnew browsers, fix bug, or otherwise, and you need to keep an eye on them\nto know when to update drivers you use.\n\nDrivers can also be fetched with [Selenium Driver Binary Downloader plugin](https://github.com/Ardesco/selenium-standalone-server-plugin).\n\nAfter version 3.141.59.265 [WebdriverManager](https://github.com/bonigarcia/webdrivermanager) is taken to use, so handling of drivers can also be done with standalone JAR from tests itself.\n\n## Demo\n\nThis is a maven project. You can execute the integration tests (using [jBrowser](https://github.com/machinepublishers/jbrowserdriver)) with:\n\n    mvn integration-test\n\nOther browsers are behind profiles\n(require browser installation with Firefox and Google Chrome, but not driver. Driver downloaded directly from Internet, so runner needs to have access to it.):\n\n- Firefox: mvn integration-test -Pfirefox\n- Google Chrome: mvn integration-test -Pgooglechrome\n- PhantomJS: mvn integration-test -Pphantomjs\n\n## Getting Help\n\nThe [user group for Robot Framework](https://groups.google.com/forum/#!forum/robotframework-users)\nis the best place to get help. Consider including in the post:\n\n- Full description of what you are trying to do and expected outcome\n- Version number of SeleniumLibrary, Robot Framework\n- StackTraces or other debug output containing error information\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarketsquare%2Frobotframework-seleniumlibrary-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarketsquare%2Frobotframework-seleniumlibrary-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarketsquare%2Frobotframework-seleniumlibrary-java/lists"}