Outdated egg!
This is an egg for CHICKEN 4, the unsupported old release. You're almost certainly looking for the CHICKEN 5 version of this egg, if it exists.
If it does not exist, there may be equivalent functionality provided by another egg; have a look at the egg index. Otherwise, please consider porting this egg to the current version of CHICKEN.
selenium
TOC »
- Outdated egg!
- selenium
- Introduction
- Author
- Repository
- API
- Session
- Javascript
- URLs
- Navigation
- IME: Input Method Editor
- Frames & windows
- User input
- Elements
- active-element
- get-element-by-id
- get-element-by-name
- get-element-by-class-name
- get-element-by-css-selector
- get-element-by-link-text
- get-element-by-partial-link-text
- get-element-by-tag-name
- get-element-by-xpath
- element-value
- element-tag-name
- element-text
- select-element!
- toggle-element!
- click-element!
- clear-element!
- hover-element!
- drag-element!
- element-enabled?
- element-selected?
- element-displayed?
- element-location
- element-location-in-view
- element-size
- element-css-property-value
- set-element-value!
- active-element-send-modifier!
- element-attribute-value
- same-element?
- get-elements-by-class-name
- get-elements-by-css-selector
- get-elements-by-id
- get-elements-by-name
- get-elements-by-link-text
- get-elements-by-partial-link-text
- get-elements-by-tag-name
- get-elements-by-xpath
- Cookies
- Pages
- Screen
- Mouse actions
- Firefox webdriver
- "Remote" webdriver
- License
- Version history
Introduction
Chicken bindings for Selenium (http://code.google.com/p/selenium)
Very early stages. Implements the JSON Wire Protocol (http://code.google.com/p/selenium/wiki/JsonWireProtocol) and the remote and Firefox webdrivers.
Currently the Firefox webdriver requires a profile directory. You can get the data I'm using for the profile at http://parenteses.org/mario/misc/profile.tar.bz2. Extract this archive and give its full path to with-firefox-webdriver (see the tests/firefox.scm file for usage example).
Warning: since these bindings are in very early development stage, the API is subject to change.
Author
Repository
https://github.com/mario-goulart/selenium
API
Session
quit!
- quit!procedure
capabilities
- capabilitiesprocedure
set-implicit-wait-time!
- set-implicit-wait-time! time-msprocedure
Javascript
execute-javascript
- execute-javascript script argsprocedure
execute-javascript-async
- execute-javascript-async script argsprocedure
javascript-dialog-text
- javascript-dialog-textprocedure
set-javascript-dialog-text!
- set-javascript-dialog-text! textprocedure
dismiss-javascript-dialog!
- dismiss-javascript-dialog!procedure
accept-javascript-dialog!
- accept-javascript-dialog!procedure
URLs
set-url!
- set-url! urlprocedure
current-url
- current-urlprocedure
Navigation
navigate-forward!
navigate-backward!
IME: Input Method Editor
ime-available-engines
- ime-available-enginesprocedure
ime-active-engine
- ime-active-engineprocedure
ime-activated?
- ime-activated?procedure
ime-deactivate!
- ime-deactivate!procedure
ime-activate!
- ime-activate!procedure
Frames & windows
focus-frame!
- focus-frame! idprocedure
focus-window!
- focus-window! idprocedure
close-window!
- close-window! idprocedure
window-handle
- window-handleprocedure
window-handles
- window-handlesprocedure
User input
user-input-speed
- user-input-speedprocedure
set-user-input-speed!
- set-user-input-speed! speedprocedure
Elements
active-element
- active-elementprocedure
get-element-by-id
- get-element-by-id idprocedure
get-element-by-name
- get-element-by-name nameprocedure
get-element-by-class-name
- get-element-by-class-name class-nameprocedure
get-element-by-css-selector
get-element-by-link-text
- get-element-by-link-text link-textprocedure
get-element-by-partial-link-text
get-element-by-tag-name
- get-element-by-tag-name tag-nameprocedure
get-element-by-xpath
- get-element-by-xpath xpathprocedure
element-value
- element-value elementprocedure
element-tag-name
- element-tag-name elementprocedure
element-text
- element-text elementprocedure
select-element!
- select-element! elementprocedure
toggle-element!
- toggle-element! elementprocedure
click-element!
- click-element! elementprocedure
clear-element!
- clear-element! elementprocedure
hover-element!
- hover-element! elementprocedure
drag-element!
- drag-element! elementprocedure
element-enabled?
- element-enabled? elementprocedure
element-selected?
- element-selected? elementprocedure
element-displayed?
- element-displayed? elementprocedure
element-location
- element-location elementprocedure
element-location-in-view
- element-location-in-view elementprocedure
element-size
- element-size elementprocedure
element-css-property-value
- element-css-property-value elementprocedure
set-element-value!
- set-element-value! element valueprocedure
active-element-send-modifier!
element-attribute-value
same-element?
- same-element? element1 element2procedure
get-elements-by-class-name
get-elements-by-css-selector
get-elements-by-id
- get-elements-by-id idprocedure
get-elements-by-name
- get-elements-by-name nameprocedure
get-elements-by-link-text
- get-elements-by-link-text link-textprocedure
get-elements-by-partial-link-text
get-elements-by-tag-name
- get-elements-by-tag-name tag-nameprocedure
get-elements-by-xpath
- get-elements-by-xpath xpathprocedure
Cookies
get-cookies
- get-cookiesprocedure
set-cookie!
get-cookies-by-name
- get-cookies-by-name name/regexprocedure
get-cookies-by-value
- get-cookies-by-value value/regexprocedure
get-cookies-by-domain
- get-cookies-by-domain domain/regexprocedure
get-cookies-by-path
- get-cookies-by-path path/regexprocedure
cookie-name
- cookie-name cookieprocedure
cookie-value
- cookie-value cookieprocedure
cookie-path
- cookie-path cookieprocedure
cookie-domain
- cookie-domain domainprocedure
cookie-secure?
- cookie-secure? cookieprocedure
cookie-expiry
- cookie-expiry cookieprocedure
Pages
page-source
- page-sourceprocedure
page-title
- page-titleprocedure
refresh-page!
- refresh-page!procedure
Screen
screen-orientation
- screen-orientationprocedure
screenshot
- screenshotprocedure
Mouse actions
move-mouse-cursor-to!
click-mouse-button!
mouse-button-down!
- mouse-button-down!procedure
mouse-button-up!
- mouse-button-up!procedure
double-click-mouse-button!
- double-click-mouse-button!procedure
Firefox webdriver
with-firefox-webdriver
"Remote" webdriver
with-remote-webdriver
License
BSD
Version history
Version 0.6
Category changed from web to testing
Version 0.5
Meta file fix (added category section)
Version v0.4
Fixed versions in release-info file
Version 0.3
Minor fixes: fixed version declaration in .setup. Unexported desired-capabilities, command-executor-host, command-executor-port and command-executor-path.
Version 0.2
Added release-info file
Version 0.1
Initial release