Skip to content

Instantly share code, notes, and snippets.

View guorui9016's full-sized avatar

RUI GUO guorui9016

View GitHub Profile

API workthough

  1. Open a browser

    # start an instance of firefox with selenium-webdriver
    driver = Selenium::WebDriver.for :firefox
    # :chrome -> chrome
    # :ie     -> iexplore
    
  • Go to a specified URL
@guorui9016
guorui9016 / selenium-webdriver-cheatsheet.md
Last active November 22, 2021 02:58 — forked from shoesCodeFor/selenium-webdriver-cheatsheet.md
Ruby Selenium Webdriver CheatSheet

API workthough

  1. Open a browser

    # start an instance of firefox with selenium-webdriver
    driver = Selenium::WebDriver.for :firefox
    # :chrome -> chrome
    # :ie     -> iexplore