mirror of
https://github.com/MontFerret/ferret.git
synced 2025-09-16 09:06:36 +02:00
Formatting
This commit is contained in:
@@ -700,7 +700,7 @@ func (doc *HTMLDocument) NavigateForward(skip values.Int, timeout values.Int) (v
|
||||
|
||||
func (doc *HTMLDocument) PrintToPDF(params *page.PrintToPDFArgs) (core.Value, error) {
|
||||
ctx := context.Background()
|
||||
|
||||
|
||||
reply, err := doc.client.Page.PrintToPDF(ctx, params)
|
||||
if err != nil {
|
||||
return values.None, err
|
||||
|
@@ -33,6 +33,6 @@ func NewLib() map[string]core.Function {
|
||||
"INNER_TEXT": InnerText,
|
||||
"INNER_TEXT_ALL": InnerTextAll,
|
||||
"SCREENSHOT": Screenshot,
|
||||
"PDF": PDF,
|
||||
"PDF": PDF,
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user