This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
charpi (author)
Sat Jun 13 00:10:09 -0700 2009
commit 75f077395c1f4bfd519322a52edd026e0a40eab2
tree b2d59918ed3edaad37679a7b9fdda72a8e09938c
parent e359a8f971541e77847d224e9c959ed3f9edabfa
tree b2d59918ed3edaad37679a7b9fdda72a8e09938c
parent e359a8f971541e77847d224e9c959ed3f9edabfa
| name | age | message | |
|---|---|---|---|
| |
AUTHORS | ||
| |
README | ||
| |
Rakefile | ||
| |
erlang_config.rb | ||
| |
lib/ | ||
| |
rakelib/ | ||
| |
validate.sh |
README
erl_selenium is an erlang implementation of the selenium remote control protocol
Selenium is a well known test framework for web interface. Through an
external api, you are able to run your tests from any languages.
Several client libraries existed but I needed one in erlang ... so I did it.
= Compilation =
* Edit the file erlang_config.rb and update
ERL_TOP="/usr/local/lib/erlang_R13-B0"
* Execute rake in a shell window
= Installation =
* Put the directory selenium_remote/ebin in your ERL_PATH.
= Usage =
== Simple ==
test () ->
Session = selenium :start (?HOST,?PORT, ?BROWSER, ?URL),
Start_url = "http://charpi.net",
selenium: cmd (Session, open, [Start_url]),
selenium: stop (Session).
== Selenium API ==
test () ->
Session = selenium :start (?HOST,?PORT, ?BROWSER, ?URL),
Start_url = "http://charpi.net",
selenium_api: open (Session, Start_url),
selenium: stop (Session).
== Selenium Session ==
test () ->
Session = selenium :launch_session (?HOST,?PORT, ?BROWSER, ?URL),
Start_url = "http://charpi.net",
Session: open (Start_url),
Session: stop_session ().
Project web site: http://trac.charpi.net/charpi.net/wiki/erl_selenium








