File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 19
19
from selenium .webdriver .chrome .service import Service
20
20
from webdriver_manager .core .os_manager import ChromeType , OperationSystemManager
21
21
22
- __version__ = "0.0.16 "
22
+ __version__ = "0.0.17 "
23
23
24
24
PATH_TO_HTML2PDF_JS = os .path .join (
25
25
os .path .dirname (os .path .join (__file__ )), "html2pdf_js" , "html2pdf.min.js"
@@ -292,7 +292,7 @@ class Done(Exception):
292
292
while True :
293
293
logs = driver .get_log ("browser" ) # type: ignore[no-untyped-call]
294
294
for entry_ in logs :
295
- if "HTML2PDF4DOC time" in entry_ ["message" ]:
295
+ if "[ HTML2PDF4DOC] Total time: " in entry_ ["message" ]:
296
296
print ("success: HTML2PDF completed its job." ) # noqa: T201
297
297
raise Done
298
298
if (datetime .today () - datetime_start ).total_seconds () > 60 :
You can’t perform that action at this time.
0 commit comments