Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/seleniumbase/SeleniumBase
/ save_as_pdf
Method
save_as_pdf
seleniumbase/core/sb_cdp.py:3545–3546 ·
view source on GitHub ↗
(self, *args, **kwargs)
Source
from the content-addressed store, hash-verified
3543
self.loop.run_until_complete(self.page.print_to_pdf(filename))
3544
3545
def
save_as_pdf(self, *args, **kwargs):
3546
self.print_to_pdf(*args, **kwargs)
3547
3548
3549
class
Chrome(CDPMethods):
Callers
1
raw_google_sync.py
File · 0.45
Calls
1
print_to_pdf
Method · 0.95
Tested by
no test coverage detected