MCPcopy Index your code
hub / github.com/Boris-code/feapder / close

Method close

feapder/utils/webdriver/webdriver_pool.py:108–115  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

106 self.driver_count -= 1
107
108 def close(self):
109 if self.thread_safe:
110 log.info("暂不支持关闭需线程安全的driver")
111
112 while not self.queue.empty():
113 driver = self.queue.get()
114 driver.quit()
115 self.driver_count -= 1

Callers 1

quitMethod · 0.45

Calls 4

infoMethod · 0.80
emptyMethod · 0.80
getMethod · 0.45
quitMethod · 0.45

Tested by

no test coverage detected