1
0
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:
Tim Voronov 2020-08-25 01:25:15 -04:00
commit 6ce7ba6507

View File

@ -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