add body property

This commit is contained in:
M Pacer 2018-03-20 15:07:35 -07:00
parent f9dd7c16e7
commit c9a850492d

View File

@ -18,6 +18,11 @@ class Notebook:
def __init__(self, browser):
self.browser = browser
@property
def body(self):
return self.browser.find_element_by_tag_name("body")
@property
def cells(self):
return self.browser.find_elements_by_class_name("cell")