All Projects → lorenzo → elm-webdriver

lorenzo / elm-webdriver

Licence: other
A library for controlling a browser using Elm and selenium

Programming Languages

elm
856 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to elm-webdriver

Cerberus Source
User-friendly automated testing framework.
Stars: ✭ 172 (+186.67%)
Mutual labels:  selenium, test-automation
Cdp4j
cdp4j - Chrome DevTools Protocol for Java
Stars: ✭ 232 (+286.67%)
Mutual labels:  selenium, test-automation
Seleniumbase
A Python framework that inspires developers to become better test automation engineers. 🧠💡
Stars: ✭ 2,520 (+4100%)
Mutual labels:  selenium, test-automation
Arquillian Extension Drone
Arquillian Drone provides a simple way to write functional tests for web apps. Drone brings the power of WebDriver into the Arquillian, and the power of Arquillian to WebDriver.
Stars: ✭ 45 (-25%)
Mutual labels:  selenium, test-automation
selenified
The Selenified Test Framework provides mechanisms for simply testing applications at multiple tiers while easily integrating into DevOps build environments. Selenified provides traceable reporting for both web and API testing, wraps and extends Selenium calls to more appropriately handle testing errors, and supports testing over multiple browser…
Stars: ✭ 38 (-36.67%)
Mutual labels:  selenium, test-automation
Unium
Automation for Unity games
Stars: ✭ 132 (+120%)
Mutual labels:  selenium, test-automation
Recheck Web
recheck for web apps – change comparison tool with local Golden Masters, Git-like ignore syntax and "Unbreakable Selenium" tests.
Stars: ✭ 224 (+273.33%)
Mutual labels:  selenium, test-automation
tropic
🍍 Test Runner Library
Stars: ✭ 29 (-51.67%)
Mutual labels:  selenium, test-automation
selenium-java
This is the sample repository that we use in the Complete Selenium WebDriver with Java Bootcamp
Stars: ✭ 45 (-25%)
Mutual labels:  selenium, test-automation
carina
Carina automation framework: Web, Mobile, API, DB etc testing...
Stars: ✭ 652 (+986.67%)
Mutual labels:  selenium, test-automation
Carina
Carina automation framework: Web, Mobile, API, DB
Stars: ✭ 549 (+815%)
Mutual labels:  selenium, test-automation
EHX
Realtime Browser Element Verification Tool [Stable]
Stars: ✭ 29 (-51.67%)
Mutual labels:  selenium, test-automation
Atata
C#/.NET test automation framework for web
Stars: ✭ 362 (+503.33%)
Mutual labels:  selenium, test-automation
Selenium extensions
Tools that will make writing tests, bots and scrapers using Selenium much easier
Stars: ✭ 140 (+133.33%)
Mutual labels:  selenium, test-automation
atata-kendoui
A set of Atata components for Kendo UI
Stars: ✭ 17 (-71.67%)
Mutual labels:  selenium, test-automation
Botium Core
The Selenium for Chatbots - Bots Testing Bots
Stars: ✭ 181 (+201.67%)
Mutual labels:  selenium, test-automation
Python-Test-Automation-Framework
Test Automation Framework using selenium and Python
Stars: ✭ 41 (-31.67%)
Mutual labels:  selenium, test-automation
Openrunner
Computest Openrunner: Benchmark and functional testing for frontend-heavy web applications
Stars: ✭ 16 (-73.33%)
Mutual labels:  selenium, test-automation
MasterSeleniumFramework
Automation Testing | Web | Java | OOPS | Selenium WebDriver | TestNG | Maven | ExtentReport | Allure Reports | Java mail API | Design Patterns (Page Object Model, Singleton) | Jenkins | Data-Driven Testing using JSON file
Stars: ✭ 52 (-13.33%)
Mutual labels:  selenium, test-automation
extensiveautomation-server
Extensive Automation server
Stars: ✭ 19 (-68.33%)
Mutual labels:  selenium, test-automation

Elm Webdriver

Remote control a browser with selenium, in Elm!

This can be used as a testing suite or you can utilize the exposed API for adapting it to your own use case.

asciicast

Quick Start

Since this package contains a Native module (some javascript), this cannot be published in packages.elm-lang.org. Instead, you need to install it using npm. Do this at the root of your Elm project, where the elm-package.json file is:

npm install elm-webdriver

You are now ready to copy some skeleton tests into your project folder. The the files from the templates folder and copy them to your tests folder in your project.

Edit Main.elm so it looks similar to the example file

If you need to use modules from your project, make sure you also add all the dependencies from the main elm-package.json into webdriver-tests/elm-package.json. Remember to keep those in sync.

Install selenium webdriver

To run tests locally you need the Selenium standalone server.
Download the .jar file from the official Selenium page and run it like this:

java -jar selenium-server-standalone.jar

You are now ready to run your tests. In another terminal, while the standalone server is still running:

cd webdriver-tests
../node_modules/.bin/elm-webdriver

You can also filter tests by name:

../node_modules/.bin/elm-webdriver --filter "Some Test Name"

If the Selenium server complains:

WARN - Exception: The path to the driver executable must be set by the webdriver.gecko.driver system property; 
for more information, see https://github.com/mozilla/geckodriver. 
The latest version can be downloaded from https: //github.com/mozilla/geckodriver/releases                  

Make sure you have the geckodriver installed, and tell Selenium where it is by setting the system property:

java -Dwebdriver.gecko.driver="<path-to-geckodriver>" -jar selenium-server-standalone.jar

API

Check the API Docs

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].