1
0
mirror of https://github.com/MontFerret/ferret.git synced 2025-06-23 00:28:10 +02:00

Fixed dot notation for HTML elements (#239)

* Fixed dot notation for HTML elements
This commit is contained in:
Tim Voronov
2019-02-25 21:46:39 -05:00
committed by GitHub
parent 14dd7ac40b
commit 63dfcdeefd
12 changed files with 1211 additions and 598 deletions

View File

@ -26,6 +26,12 @@ func Navigate(ctx context.Context, args ...core.Value) (core.Value, error) {
return values.None, err
}
err = core.ValidateType(args[1], types.String)
if err != nil {
return values.None, err
}
timeout := values.NewInt(defaultTimeout)
if len(args) > 2 {