wdom.dom.Tag class provides DOM implementation synchronized both on python and browser.
wdom.dom.Tag
Browser-based GUI Library for Python