Selenium

Issue #1 resolved
Justin Willis repo owner created an issue

Caboodle should wrap Selenium for easy use.

Comments (2)

  1. Justin Willis reporter

    I found this and this, and thought I could do something like this:

    from selenium import webdriver
    
    class Browser(object):
        def __init__(self, type):
            self.driver = getattr(webdriver, type)()
    
        def __getattr__(self, attr):
            return self.driver.__getattribute__(attr)
    
  2. Log in to comment