mirror of
https://github.com/MontFerret/ferret.git
synced 2025-03-17 21:18:37 +02:00
Merge branch 'master' of github.com:MontFerret/ferret into master
This commit is contained in:
commit
6ce7ba6507
@ -29,7 +29,7 @@ func Screenshot(ctx context.Context, args ...core.Value) (core.Value, error) {
|
||||
|
||||
arg1 := args[0]
|
||||
|
||||
err = core.ValidateType(arg1, drivers.HTMLDocumentType, types.String)
|
||||
err = core.ValidateType(arg1, drivers.HTMLPageType, types.String)
|
||||
|
||||
if err != nil {
|
||||
return values.None, err
|
||||
|
Loading…
x
Reference in New Issue
Block a user