What is it for?

VBScript (Visual Basic Scripting Edition) is an Active Scripting language developed by Microsoft that is modeled on Visual Basic. It is designed as a "lightweight" language with a fast interpreter for use in a wide variety of Microsoft environments.

VBS WebDriver is intended to provide a simple bindings for Selenium 2. The bindings include the full functionality of Selenium 2 (WebDriver).

Do you want an example?

If you were writing a test just to check a simple search in google, you would just need to code this script:


Set Driver = New WebDriver	
	Driver.connect "127.0.0.1","4444","firefoxproxy", ""
	Driver.navigateTo "http://www.google.com"	
	MsgBox "Retrieve the URL of the current page: " & Driver.getCurrentUrl()
	MsgBox Driver.executeScript("alert('test')","")

Set Element  = Driver.findElementBy(Driver.name,"q")
	Element.sendKeys "VBScript"
	Element.submit

Status

Current version is 1.0.0 Beta
This bindings are supported independently, and not by the Selenium project.

Related Projects

The following projects are related to Selenium and you may find it interesting: