Esempio n. 1
0
 def test_default(self) -> None:
     # other tests may have interacted with the global biw.webdriver_control,
     # so create a new instance only to check default values
     wc = biw._WebdriverState()
     assert wc.reuse == True
     assert wc.kind == None
     assert wc.current is None
Esempio n. 2
0
 def test_default(self):
     # other tests may have interacted with the global biw.webdriver_control,
     # so create a new instance only to check default values
     wc = biw._WebdriverState()
     assert wc.reuse == True
     assert wc.kind == "phantomjs"
     assert wc.current is None