Skip to main content

WebDriver

WebDriver class provides methods to get browser object for web automation.

  • clicknium.ie: IE web driver
  • clicknium.chrome: Chrome web driver
  • clicknium.edge: Edge web driver
  • clicknium.firefox: Firefox web driver
  • clicknium.chromium(): Chromium based web driver, such as "brave", "vivaldi" and so on

Properties

  • browsers: List[Browser], return all open browsers by current browser type.
  • extension: WebExtension, return the web extenion by current browser type.

Methods

Examples

from clicknium import clicknium as cc

# install chrome extension to automate chrome browser
cc.chrome.extension.install()

# open chrome browser
cc.chrome.open("www.bing.com")