mirror of
https://github.com/MontFerret/ferret.git
synced 2024-12-14 11:23:02 +02:00
Formatting
This commit is contained in:
parent
5f94b77a39
commit
91093d6d25
@ -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,
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user