mirror of
https://github.com/MontFerret/ferret.git
synced 2025-07-17 01:32:22 +02:00
Feature/pre compiled eval scripts (#658)
* Added support of pre-compiled eval expressions * Added unit tests for eval.Function * Added RemoteType and RemoteObjectType enums * Refactored function generation * Refactored Document and Element loading logic * Removed redundant fields from cdp.Page * Exposed eval.Runtime to external callers * Added new eval.RemoteValue interface
This commit is contained in:
7
pkg/drivers/cdp/eval/value.go
Normal file
7
pkg/drivers/cdp/eval/value.go
Normal file
@ -0,0 +1,7 @@
|
||||
package eval
|
||||
|
||||
import "github.com/mafredri/cdp/protocol/runtime"
|
||||
|
||||
type RemoteValue interface {
|
||||
RemoteID() runtime.RemoteObjectID
|
||||
}
|
Reference in New Issue
Block a user