{"id":21061719,"url":"https://github.com/manoj9788/selenium-scalatest","last_synced_at":"2026-03-07T01:01:34.285Z","repository":{"id":148885754,"uuid":"255409365","full_name":"manoj9788/selenium-scalaTest","owner":"manoj9788","description":"A template repository to showcase usage of Selenium tests using ScalaTest with Page Object Pattern way of organizing tests.","archived":false,"fork":false,"pushed_at":"2020-04-17T12:39:59.000Z","size":24,"stargazers_count":10,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-16T00:42:30.750Z","etag":null,"topics":["page-object","scala","scalatest","selenium","testing-framework"],"latest_commit_sha":null,"homepage":"","language":"Scala","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/manoj9788.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":"2020-04-13T18:24:22.000Z","updated_at":"2022-10-08T07:41:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"1dbdf34c-f516-4176-a935-f2ccbf0c7898","html_url":"https://github.com/manoj9788/selenium-scalaTest","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/manoj9788/selenium-scalaTest","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manoj9788%2Fselenium-scalaTest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manoj9788%2Fselenium-scalaTest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manoj9788%2Fselenium-scalaTest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manoj9788%2Fselenium-scalaTest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/manoj9788","download_url":"https://codeload.github.com/manoj9788/selenium-scalaTest/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manoj9788%2Fselenium-scalaTest/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30204448,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T19:07:06.838Z","status":"ssl_error","status_checked_at":"2026-03-06T18:57:34.882Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["page-object","scala","scalatest","selenium","testing-framework"],"created_at":"2024-11-19T17:27:07.249Z","updated_at":"2026-03-07T01:01:34.218Z","avatar_url":"https://github.com/manoj9788.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Selenium-ScalaTest\nA Simple template repository to showcase usage of Selenium tests using ScalaTest framework with Page Object Pattern \nway of organizing tests.\n\nScalaTest is the most flexible testing tool in the Scala ecosystem. With ScalaTest, you can test Scala, \nScala.js (JavaScript), and Java code. ScalaTest includes a DSL for writing browser-based tests using Selenium.\n\nTo understand about the folder structure of this Scala project, please refer this [blog](http://allaboutscala.com/tutorials/chapter-1-getting-familiar-intellij-ide/intellij-project-structure-getting-started-scala-project/) post\n\n### Build tool\nWe use `sbt` as a build tool. It is an open-source build tool for Scala and Java projects, similar to \nApache's Maven and Ant.\n\nPlease follow the [instructions](https://www.scala-sbt.org/1.x/docs/Setup.html) to install `sbt` on your machine \nand available in PATH\n\nJust like in any other project, the first step is to add selenium dependency to the build file(sbt) using\n```scala\nlibraryDependencies += \"org.seleniumhq.selenium\" % \"selenium-java\" % \"3.141.59\" % \"test\"\n```\n\n### Source\nTo demonstrate the implementation of page object pattern we use two application here, Google Search and \nSpree Demo website. Note that we don't use Page Factory pattern here as its going to be deprecated.\n\nThe tests are located [here](/src/test/scala/tests) and the pageobject classes are located [here](src/test/scala/pages)\n\n### Execute Tests\n`sbt test`\n### IDE\nYou could use [Scala for Eclipse](http://scala-ide.org/) or IntelliJ Idea Community with Scala [plugin](https://plugins.jetbrains.com/plugin/1347-scala)\n\nReferences:\n* [Scala School](https://twitter.github.io/scala_school/)\n* [sbt-reference](https://www.scala-sbt.org/1.x/docs/index.html)\n* [Scala Test](http://www.scalatest.org/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanoj9788%2Fselenium-scalatest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmanoj9788%2Fselenium-scalatest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanoj9788%2Fselenium-scalatest/lists"}