#web-driver #w3c #chrome #client #incomplete

serenium

W3C Webdriver Client for rust - INCOMPLETE!

1 unstable release

0.1.0 Feb 17, 2019

#26 in #web-driver

MIT license

13KB
255 lines

Serenium

Yep, another webdriver crate for rust

Current status

  • Only Chrome Webdriver support
  • Too few functions implemented to be usable

Crate goals

  • Simple, synchronous API
  • Self-contained, without java dependency
  • Fully compatible with W3C webdriver protocol

Implementation status

  • "+" - Implemented
  • "+/-" - Partially implemented (mostly error checking part is missing)
  • "-" - Not implemented
Command Implemented
New Session +/-
Delete Session + (Drop trait)
Status -
Get Timeouts -
Set Timeouts +/-
Navigate To +/-
Get Current URL +
Back +/-
Forward -
Refresh +/-
Get Title -
Get Window Handle -
Close Window -
Switch To Window -
Get Window Handles -
New Window -
Switch To Frame -
Switch To Parent Frame -
Get Window Rect -
Set Window Rect -
Maximize Window -
Minimize Window -
Fullscreen Window -
Get Active Element -
Find Element -
Find Elements -
Find Element From Element -
Find Elements From Element -
Is Element Selected -
Get Element Attribute -
Get Element Property -
Get Element CSS Value -
Get Element Text -
Get Element Tag Name -
Get Element Rect -
Is Element Enabled -
Element Click -
Element Clear -
Element Send Keys -
Get Page Source -
Execute Script -
Execute Async Script -
Get All Cookies -
Get Named Cookie -
Add Cookie -
Delete Cookie -
Delete All Cookies -
Perform Actions -
Release Actions -
Dismiss Alert -
Accept Alert -
Get Alert Text -
Send Alert Text -
Take Screenshot -
Take Element Screenshot -

Dependencies

~20MB
~427K SLoC