class IyS(unittest.TestCase):
driver=webdriver.Firefox()
driver.maximize_window()
def Login(self):
IyS.driver.get("url")
IyS.driver.find_element_by_id("email_id").send_keys("email@gmail.com")
IyS.driver.find_element_by_id("password").send_keys("password")
IyS.driver.find_element_by_xpath(".//*[@id='loginBtn']").click()
IyS = IyS()
IyS.Login()
我想监控每个步骤的控制台的时间和流量..