All Projects → Mayvenn → limo

Mayvenn / limo

Licence: EPL-1.0 license
A wrapper around selenium webdriver

Programming Languages

clojure
4091 projects

Projects that are alternatives of or similar to limo

klf-200-api
This module provides a wrapper to the REST API of a KLF-200 interface. Supporting the new API with firmware version 0.2.0.0.71 is in progress.
Stars: ✭ 29 (+16%)
Mutual labels:  wrapper
SeleniumDemo
Selenium automation test framework
Stars: ✭ 84 (+236%)
Mutual labels:  selenium-webdriver
Google-Docs-Desktop-OSX
A Super Simple Google Docs Desktop Client for Mac OSX Built in Javascript and MacGap
Stars: ✭ 35 (+40%)
Mutual labels:  wrapper
gut
🍱 yet another collection of go utilities & tools
Stars: ✭ 24 (-4%)
Mutual labels:  wrapper
BitLens
🔎 Have your bits and eat them too! A C++17 bit lens container for vector types.
Stars: ✭ 20 (-20%)
Mutual labels:  wrapper
opencv-python-inference-engine
Wrapper package for OpenCV with Inference Engine python bindings.
Stars: ✭ 32 (+28%)
Mutual labels:  wrapper
MozJpeg-wrapper
mozjpeg wrapper for .NET coded in c#
Stars: ✭ 14 (-44%)
Mutual labels:  wrapper
ScintillaNET.WPF
A WPF Wrapper around the ScintillaNET v3 control
Stars: ✭ 30 (+20%)
Mutual labels:  wrapper
nimtesseract
A Tesseract OCR wrapper for Nim
Stars: ✭ 23 (-8%)
Mutual labels:  wrapper
nim-lmdb
Nim LMDB wrapper
Stars: ✭ 31 (+24%)
Mutual labels:  wrapper
Selenium.HtmlElements.Net
Elements model for Selenium.WebDriver
Stars: ✭ 26 (+4%)
Mutual labels:  selenium-webdriver
wumpy
Discord API Wrapper - Easy enough for Wumpus, and fast enough for Clyde!
Stars: ✭ 25 (+0%)
Mutual labels:  wrapper
fs2-ssh
A wrapper around Apache SSHD targeting cats-effect and fs2
Stars: ✭ 36 (+44%)
Mutual labels:  wrapper
PhpScreenRecorder
A slim PHP wrapper around ffmpeg to record screen,best for recording your acceptance test using selenium, easy to use and clean OOP interface
Stars: ✭ 44 (+76%)
Mutual labels:  selenium-webdriver
ros jetson stats
🐢 The ROS jetson-stats wrapper. The status of your NVIDIA jetson in diagnostic messages
Stars: ✭ 55 (+120%)
Mutual labels:  wrapper
python-gerrit-api
Python wrapper for the Gerrit REST API.
Stars: ✭ 6 (-76%)
Mutual labels:  wrapper
WebDriver.jl
A WebDriver / JSON Wire Protocol Binding Compatible with Selenium for the Julia Language.
Stars: ✭ 30 (+20%)
Mutual labels:  selenium-webdriver
sandboxed-fs
Sandboxed Wrapper for Node.js File System API
Stars: ✭ 41 (+64%)
Mutual labels:  wrapper
glow
OpenGL Object Wrapper (GLOW)
Stars: ✭ 18 (-28%)
Mutual labels:  wrapper
PoShLog
🔩 PoShLog is PowerShell cross-platform logging module. It allows you to log structured event data into console, file and much more places easily. It's built upon great C# logging library Serilog - https://serilog.net/
Stars: ✭ 108 (+332%)
Mutual labels:  wrapper

Limo Actions

API Docs

A Clojure library that's a small wrapper around selenium webdriver.

Why a new wrapper? This library aims to provide a high-level capybara-styled api.

Limo embraces its tight coupling to Selenium Webdriver. That means no wrapper types. When you need to drop down the native selenium API, you are free to do so.

Installation

Add your project.clj file:

Clojars Project

Basic Usage - functional test

Currently similar to clj-webdriver. Unlike clj-webdriver, all actions will poll and ignore stale element exceptions for 15 seconds (by default).

(ns app.test
  (:require [limo.api :as api]
            [limo.driver :as driver]
            [clojure.test :refer :all]))

(deftest test-login
  ;; sets the implicit driver to use.
  ;; Alternatively you can pass the driver in as the first argument
  (api/set-driver! (driver/create-chrome))
  ;; tells selenium webdriver to implicitly wait 1s, for up the *default-timeout* (explicit wait) of 15 seconds
  ;; see http://www.seleniumhq.org/docs/04_webdriver_advanced.jsp for more details
  (api/implicit-wait 1000)
  (api/to "http://example.com")
  (api/fill-form {"#email" email
                  "#password" password})
  (api/click "#login")
  (is (contains-text? "#flash-message" "Welcome! You have signed up successfully."))

Alternate Usage - automate login, data scraping, etc

You can also create a new project that use Limo to automate manual tasks using limo-driver.

e.g.

lein new limo-driver <your-project-name>

This will create the basic CLI project that you can use as starting point to quickly.

Please see limo-driver's README.md for more details.

License

Copyright © 2020 Mayvenn

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

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].