https://github.com/sridharbandi/selenium-scala-template
Selenium Scala Example with Page Object Model
https://github.com/sridharbandi/selenium-scala-template
sbt scala scalatest selenium selenium-webdriver webdrivermanager
Last synced: 7 months ago
JSON representation
Selenium Scala Example with Page Object Model
- Host: GitHub
- URL: https://github.com/sridharbandi/selenium-scala-template
- Owner: sridharbandi
- Created: 2018-06-05T20:59:35.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-06-08T22:51:08.000Z (over 7 years ago)
- Last Synced: 2025-01-14T06:16:19.603Z (9 months ago)
- Topics: sbt, scala, scalatest, selenium, selenium-webdriver, webdrivermanager
- Language: Scala
- Homepage:
- Size: 6.84 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Selenium Scala Template with Page Object Model
To automate [Selenium Webdriver](https://docs.seleniumhq.org/projects/webdriver/) binaries management in runtime am using [webdrivermanager](https://github.com/bonigarcia/webdrivermanager), an excellent library by [Boni García](https://github.com/bonigarcia)
### How to use?
Create the Page Objects of your Web application under **_pageobjects_** package, call those Page Objects in tests under **_test_** package (Sample Page Objects, testcase included in this template)### How to run?
Make sure you have [sbt](https://www.scala-sbt.org/download.html) downloaded and configured in path.And then execute the below command in project root directory to run the tests
```javascript
sbt test
```
## TO DO
Command line switch to change the browser.> Feel free to modify it to your own needs :)