Skip to content

Instantly share code, notes, and snippets.

@dck-jp
Created February 20, 2014 00:42
Show Gist options
  • Save dck-jp/9104671 to your computer and use it in GitHub Desktop.
Save dck-jp/9104671 to your computer and use it in GitHub Desktop.
Selenium VBA Sample: Search by Google
Public Sub SearchByGoogle()
Dim driver As New SeleniumWrapper.WebDriver
driver.Start "firefox", "https://www.google.co.jp/"
driver.get ("/")
driver.findElementById("lst-ib").SendKeys "Selenium"
driver.findElementByName("btnK").Click
End Sub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment