# Licensed to the Software Freedom Conservancy (SFC) under one
# or more contributor license agreements.  See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership.  The SFC licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License.  You may obtain a copy of the License at
#
#   http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied.  See the License for the
# specific language governing permissions and limitations
# under the License.

# This file is automatically generated. DO NOT EDIT!
# Regenerate with: bazel run //rb/lib/selenium/webdriver:bidi-generate

module Selenium
  module WebDriver
    class BiDi
      module Protocol
        class Script < ::Selenium::WebDriver::BiDi::Protocol::Domain
          EVENTS: Hash[Symbol, String]

          SPECIAL_NUMBER: Hash[Symbol, String]

          REALM_TYPE: Hash[Symbol, String]

          RESULT_OWNERSHIP: Hash[Symbol, String]

          NODE_PROPERTIES_MODE: Hash[Symbol, String]

          SERIALIZATION_OPTIONS_INCLUDE_SHADOW_TREE: Hash[Symbol, String]

          class ChannelValue < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader type: String
            attr_reader value: ::Selenium::WebDriver::BiDi::Protocol::Script::ChannelProperties
            def self.new: (?type: String, value: ::Selenium::WebDriver::BiDi::Protocol::Script::ChannelProperties) -> instance
          end

          class ChannelProperties < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader channel: String
            attr_reader serialization_options: untyped
            attr_reader ownership: untyped
            def self.new: (channel: String, ?serialization_options: ::Selenium::WebDriver::BiDi::Protocol::Script::SerializationOptions, ?ownership: Symbol) -> instance
          end

          class EvaluateResult < ::Selenium::WebDriver::BiDi::Serialization::Union
          end

          class EvaluateResultSuccess < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader type: String
            attr_reader result: ::Selenium::WebDriver::BiDi::Protocol::Script::RemoteValue
            attr_reader realm: String
            def self.new: (?type: String, result: ::Selenium::WebDriver::BiDi::Protocol::Script::RemoteValue, realm: String) -> instance
          end

          class EvaluateResultException < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader type: String
            attr_reader exception_details: ::Selenium::WebDriver::BiDi::Protocol::Script::ExceptionDetails
            attr_reader realm: String
            def self.new: (?type: String, exception_details: ::Selenium::WebDriver::BiDi::Protocol::Script::ExceptionDetails, realm: String) -> instance
          end

          class ExceptionDetails < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader column_number: Integer
            attr_reader exception: ::Selenium::WebDriver::BiDi::Protocol::Script::RemoteValue
            attr_reader line_number: Integer
            attr_reader stack_trace: ::Selenium::WebDriver::BiDi::Protocol::Script::StackTrace
            attr_reader text: String
            def self.new: (column_number: Integer, exception: ::Selenium::WebDriver::BiDi::Protocol::Script::RemoteValue, line_number: Integer, stack_trace: ::Selenium::WebDriver::BiDi::Protocol::Script::StackTrace, text: String) -> instance
          end

          class LocalValue < ::Selenium::WebDriver::BiDi::Serialization::Union
          end

          class ArrayLocalValue < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader type: String
            attr_reader value: Array[::Selenium::WebDriver::BiDi::Protocol::Script::LocalValue]
            def self.new: (?type: String, value: Array[::Selenium::WebDriver::BiDi::Protocol::Script::LocalValue]) -> instance
          end

          class DateLocalValue < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader type: String
            attr_reader value: String
            def self.new: (?type: String, value: String) -> instance
          end

          class MapLocalValue < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader type: String
            attr_reader value: Array[Array[untyped]]
            def self.new: (?type: String, value: Array[Array[untyped]]) -> instance
          end

          class ObjectLocalValue < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader type: String
            attr_reader value: Array[Array[untyped]]
            def self.new: (?type: String, value: Array[Array[untyped]]) -> instance
          end

          class RegExpValue < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader pattern: String
            attr_reader flags: untyped
            def self.new: (pattern: String, ?flags: String) -> instance
          end

          class RegExpLocalValue < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader type: String
            attr_reader value: ::Selenium::WebDriver::BiDi::Protocol::Script::RegExpValue
            def self.new: (?type: String, value: ::Selenium::WebDriver::BiDi::Protocol::Script::RegExpValue) -> instance
          end

          class SetLocalValue < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader type: String
            attr_reader value: Array[::Selenium::WebDriver::BiDi::Protocol::Script::LocalValue]
            def self.new: (?type: String, value: Array[::Selenium::WebDriver::BiDi::Protocol::Script::LocalValue]) -> instance
          end

          class PrimitiveProtocolValue < ::Selenium::WebDriver::BiDi::Serialization::Union
          end

          class UndefinedValue < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader type: String
            def self.new: (?type: String) -> instance
          end

          class NullValue < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader type: String
            def self.new: (?type: String) -> instance
          end

          class StringValue < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader type: String
            attr_reader value: String
            def self.new: (?type: String, value: String) -> instance
          end

          class NumberValue < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader type: String
            attr_reader value: untyped
            def self.new: (?type: String, value: untyped) -> instance
          end

          class BooleanValue < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader type: String
            attr_reader value: bool
            def self.new: (?type: String, value: bool) -> instance
          end

          class BigIntValue < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader type: String
            attr_reader value: String
            def self.new: (?type: String, value: String) -> instance
          end

          class RealmInfo < ::Selenium::WebDriver::BiDi::Serialization::Union
          end

          class BaseRealmInfo < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader realm: String
            attr_reader origin: String
            def self.new: (realm: String, origin: String) -> instance
          end

          class WindowRealmInfo < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader type: String
            attr_reader realm: String
            attr_reader origin: String
            attr_reader context: String
            attr_reader user_context: untyped
            attr_reader sandbox: untyped
            def self.new: (?type: String, realm: String, origin: String, context: String, ?user_context: String, ?sandbox: String) -> instance
          end

          class DedicatedWorkerRealmInfo < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader type: String
            attr_reader realm: String
            attr_reader origin: String
            attr_reader owners: Array[String]
            def self.new: (?type: String, realm: String, origin: String, owners: Array[String]) -> instance
          end

          class SharedWorkerRealmInfo < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader type: String
            attr_reader realm: String
            attr_reader origin: String
            def self.new: (?type: String, realm: String, origin: String) -> instance
          end

          class ServiceWorkerRealmInfo < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader type: String
            attr_reader realm: String
            attr_reader origin: String
            def self.new: (?type: String, realm: String, origin: String) -> instance
          end

          class WorkerRealmInfo < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader type: String
            attr_reader realm: String
            attr_reader origin: String
            def self.new: (?type: String, realm: String, origin: String) -> instance
          end

          class PaintWorkletRealmInfo < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader type: String
            attr_reader realm: String
            attr_reader origin: String
            def self.new: (?type: String, realm: String, origin: String) -> instance
          end

          class AudioWorkletRealmInfo < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader type: String
            attr_reader realm: String
            attr_reader origin: String
            def self.new: (?type: String, realm: String, origin: String) -> instance
          end

          class WorkletRealmInfo < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader type: String
            attr_reader realm: String
            attr_reader origin: String
            def self.new: (?type: String, realm: String, origin: String) -> instance
          end

          class RemoteReference < ::Selenium::WebDriver::BiDi::Serialization::Union
          end

          class SharedReference < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader shared_id: String
            attr_reader handle: untyped
            attr_reader extensions: Hash[String, untyped]
            def self.new: (shared_id: String, ?handle: String, ?extensions: untyped) -> instance
          end

          class RemoteObjectReference < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader handle: String
            attr_reader shared_id: untyped
            attr_reader extensions: Hash[String, untyped]
            def self.new: (handle: String, ?shared_id: String, ?extensions: untyped) -> instance
          end

          class RemoteValue < ::Selenium::WebDriver::BiDi::Serialization::Union
          end

          class SymbolRemoteValue < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader type: String
            attr_reader handle: untyped
            attr_reader internal_id: untyped
            def self.new: (?type: String, ?handle: String, ?internal_id: String) -> instance
          end

          class ArrayRemoteValue < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader type: String
            attr_reader handle: untyped
            attr_reader internal_id: untyped
            attr_reader value: untyped
            def self.new: (?type: String, ?handle: String, ?internal_id: String, ?value: Array[::Selenium::WebDriver::BiDi::Protocol::Script::RemoteValue]) -> instance
          end

          class ObjectRemoteValue < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader type: String
            attr_reader handle: untyped
            attr_reader internal_id: untyped
            attr_reader value: untyped
            def self.new: (?type: String, ?handle: String, ?internal_id: String, ?value: Array[Array[untyped]]) -> instance
          end

          class FunctionRemoteValue < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader type: String
            attr_reader handle: untyped
            attr_reader internal_id: untyped
            def self.new: (?type: String, ?handle: String, ?internal_id: String) -> instance
          end

          class RegExpRemoteValue < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader type: String
            attr_reader value: ::Selenium::WebDriver::BiDi::Protocol::Script::RegExpValue
            attr_reader handle: untyped
            attr_reader internal_id: untyped
            def self.new: (?type: String, value: ::Selenium::WebDriver::BiDi::Protocol::Script::RegExpValue, ?handle: String, ?internal_id: String) -> instance
          end

          class DateRemoteValue < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader type: String
            attr_reader value: String
            attr_reader handle: untyped
            attr_reader internal_id: untyped
            def self.new: (?type: String, value: String, ?handle: String, ?internal_id: String) -> instance
          end

          class MapRemoteValue < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader type: String
            attr_reader handle: untyped
            attr_reader internal_id: untyped
            attr_reader value: untyped
            def self.new: (?type: String, ?handle: String, ?internal_id: String, ?value: Array[Array[untyped]]) -> instance
          end

          class SetRemoteValue < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader type: String
            attr_reader handle: untyped
            attr_reader internal_id: untyped
            attr_reader value: untyped
            def self.new: (?type: String, ?handle: String, ?internal_id: String, ?value: Array[::Selenium::WebDriver::BiDi::Protocol::Script::RemoteValue]) -> instance
          end

          class WeakMapRemoteValue < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader type: String
            attr_reader handle: untyped
            attr_reader internal_id: untyped
            def self.new: (?type: String, ?handle: String, ?internal_id: String) -> instance
          end

          class WeakSetRemoteValue < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader type: String
            attr_reader handle: untyped
            attr_reader internal_id: untyped
            def self.new: (?type: String, ?handle: String, ?internal_id: String) -> instance
          end

          class GeneratorRemoteValue < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader type: String
            attr_reader handle: untyped
            attr_reader internal_id: untyped
            def self.new: (?type: String, ?handle: String, ?internal_id: String) -> instance
          end

          class ErrorRemoteValue < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader type: String
            attr_reader handle: untyped
            attr_reader internal_id: untyped
            def self.new: (?type: String, ?handle: String, ?internal_id: String) -> instance
          end

          class ProxyRemoteValue < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader type: String
            attr_reader handle: untyped
            attr_reader internal_id: untyped
            def self.new: (?type: String, ?handle: String, ?internal_id: String) -> instance
          end

          class PromiseRemoteValue < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader type: String
            attr_reader handle: untyped
            attr_reader internal_id: untyped
            def self.new: (?type: String, ?handle: String, ?internal_id: String) -> instance
          end

          class TypedArrayRemoteValue < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader type: String
            attr_reader handle: untyped
            attr_reader internal_id: untyped
            def self.new: (?type: String, ?handle: String, ?internal_id: String) -> instance
          end

          class ArrayBufferRemoteValue < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader type: String
            attr_reader handle: untyped
            attr_reader internal_id: untyped
            def self.new: (?type: String, ?handle: String, ?internal_id: String) -> instance
          end

          class NodeListRemoteValue < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader type: String
            attr_reader handle: untyped
            attr_reader internal_id: untyped
            attr_reader value: untyped
            def self.new: (?type: String, ?handle: String, ?internal_id: String, ?value: Array[::Selenium::WebDriver::BiDi::Protocol::Script::RemoteValue]) -> instance
          end

          class HTMLCollectionRemoteValue < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader type: String
            attr_reader handle: untyped
            attr_reader internal_id: untyped
            attr_reader value: untyped
            def self.new: (?type: String, ?handle: String, ?internal_id: String, ?value: Array[::Selenium::WebDriver::BiDi::Protocol::Script::RemoteValue]) -> instance
          end

          class NodeRemoteValue < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader type: String
            attr_reader shared_id: untyped
            attr_reader handle: untyped
            attr_reader internal_id: untyped
            attr_reader value: untyped
            def self.new: (?type: String, ?shared_id: String, ?handle: String, ?internal_id: String, ?value: ::Selenium::WebDriver::BiDi::Protocol::Script::NodeProperties) -> instance
          end

          class NodeProperties < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader node_type: Integer
            attr_reader child_node_count: Integer
            attr_reader attributes: untyped
            attr_reader children: untyped
            attr_reader local_name: untyped
            attr_reader mode: untyped
            attr_reader namespace_uri: untyped
            attr_reader node_value: untyped
            attr_reader shadow_root: untyped
            def self.new: (node_type: Integer, child_node_count: Integer, ?attributes: untyped, ?children: Array[::Selenium::WebDriver::BiDi::Protocol::Script::NodeRemoteValue], ?local_name: String, ?mode: Symbol, ?namespace_uri: String, ?node_value: String, ?shadow_root: ::Selenium::WebDriver::BiDi::Protocol::Script::NodeRemoteValue?) -> instance
          end

          class WindowProxyRemoteValue < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader type: String
            attr_reader value: ::Selenium::WebDriver::BiDi::Protocol::Script::WindowProxyProperties
            attr_reader handle: untyped
            attr_reader internal_id: untyped
            def self.new: (?type: String, value: ::Selenium::WebDriver::BiDi::Protocol::Script::WindowProxyProperties, ?handle: String, ?internal_id: String) -> instance
          end

          class WindowProxyProperties < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader context: String
            def self.new: (context: String) -> instance
          end

          class SerializationOptions < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader max_dom_depth: untyped
            attr_reader max_object_depth: untyped
            attr_reader include_shadow_tree: untyped
            def self.new: (?max_dom_depth: Integer?, ?max_object_depth: Integer?, ?include_shadow_tree: Symbol) -> instance
          end

          class StackFrame < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader column_number: Integer
            attr_reader function_name: String
            attr_reader line_number: Integer
            attr_reader url: String
            def self.new: (column_number: Integer, function_name: String, line_number: Integer, url: String) -> instance
          end

          class StackTrace < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader call_frames: Array[::Selenium::WebDriver::BiDi::Protocol::Script::StackFrame]
            def self.new: (call_frames: Array[::Selenium::WebDriver::BiDi::Protocol::Script::StackFrame]) -> instance
          end

          class Source < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader realm: String
            attr_reader context: untyped
            attr_reader user_context: untyped
            def self.new: (realm: String, ?context: String, ?user_context: String) -> instance
          end

          class RealmTarget < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader realm: String
            def self.new: (realm: String) -> instance
          end

          class ContextTarget < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader context: String
            attr_reader sandbox: untyped
            def self.new: (context: String, ?sandbox: String) -> instance
          end

          class Target < ::Selenium::WebDriver::BiDi::Serialization::Union
          end

          class AddPreloadScriptParameters < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader function_declaration: String
            attr_reader arguments: untyped
            attr_reader contexts: untyped
            attr_reader user_contexts: untyped
            attr_reader sandbox: untyped
            def self.new: (function_declaration: String, ?arguments: Array[::Selenium::WebDriver::BiDi::Protocol::Script::ChannelValue], ?contexts: Array[String], ?user_contexts: Array[String], ?sandbox: String) -> instance
          end

          class AddPreloadScriptResult < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader script: String
            def self.new: (script: String) -> instance
          end

          class DisownParameters < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader handles: Array[String]
            attr_reader target: ::Selenium::WebDriver::BiDi::Protocol::Script::Target
            def self.new: (handles: Array[String], target: ::Selenium::WebDriver::BiDi::Protocol::Script::Target) -> instance
          end

          class CallFunctionParameters < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader function_declaration: String
            attr_reader await_promise: bool
            attr_reader target: ::Selenium::WebDriver::BiDi::Protocol::Script::Target
            attr_reader arguments: untyped
            attr_reader result_ownership: untyped
            attr_reader serialization_options: untyped
            attr_reader this: untyped
            attr_reader user_activation: untyped
            def self.new: (function_declaration: String, await_promise: bool, target: ::Selenium::WebDriver::BiDi::Protocol::Script::Target, ?arguments: Array[::Selenium::WebDriver::BiDi::Protocol::Script::LocalValue], ?result_ownership: Symbol, ?serialization_options: ::Selenium::WebDriver::BiDi::Protocol::Script::SerializationOptions, ?this: ::Selenium::WebDriver::BiDi::Protocol::Script::LocalValue, ?user_activation: bool) -> instance
          end

          class EvaluateParameters < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader expression: String
            attr_reader target: ::Selenium::WebDriver::BiDi::Protocol::Script::Target
            attr_reader await_promise: bool
            attr_reader result_ownership: untyped
            attr_reader serialization_options: untyped
            attr_reader user_activation: untyped
            def self.new: (expression: String, target: ::Selenium::WebDriver::BiDi::Protocol::Script::Target, await_promise: bool, ?result_ownership: Symbol, ?serialization_options: ::Selenium::WebDriver::BiDi::Protocol::Script::SerializationOptions, ?user_activation: bool) -> instance
          end

          class GetRealmsParameters < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader context: untyped
            attr_reader type: untyped
            def self.new: (?context: String, ?type: Symbol) -> instance
          end

          class GetRealmsResult < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader realms: Array[::Selenium::WebDriver::BiDi::Protocol::Script::RealmInfo]
            def self.new: (realms: Array[::Selenium::WebDriver::BiDi::Protocol::Script::RealmInfo]) -> instance
          end

          class RemovePreloadScriptParameters < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader script: String
            def self.new: (script: String) -> instance
          end

          class MessageParameters < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader channel: String
            attr_reader data: ::Selenium::WebDriver::BiDi::Protocol::Script::RemoteValue
            attr_reader source: ::Selenium::WebDriver::BiDi::Protocol::Script::Source
            def self.new: (channel: String, data: ::Selenium::WebDriver::BiDi::Protocol::Script::RemoteValue, source: ::Selenium::WebDriver::BiDi::Protocol::Script::Source) -> instance
          end

          class RealmDestroyedParameters < ::Selenium::WebDriver::BiDi::Serialization::Record
            attr_reader realm: String
            def self.new: (realm: String) -> instance
          end

          EVENT_TYPES: Hash[String, untyped]

          def add_preload_script: (function_declaration: String, ?arguments: Array[::Selenium::WebDriver::BiDi::Protocol::Script::ChannelValue], ?contexts: Array[String], ?user_contexts: Array[String], ?sandbox: String) -> ::Selenium::WebDriver::BiDi::Protocol::Script::AddPreloadScriptResult
          def call_function: (function_declaration: String, await_promise: bool, target: ::Selenium::WebDriver::BiDi::Protocol::Script::Target, ?arguments: Array[::Selenium::WebDriver::BiDi::Protocol::Script::LocalValue], ?result_ownership: Symbol, ?serialization_options: ::Selenium::WebDriver::BiDi::Protocol::Script::SerializationOptions, ?this: ::Selenium::WebDriver::BiDi::Protocol::Script::LocalValue, ?user_activation: bool) -> ::Selenium::WebDriver::BiDi::Protocol::Script::EvaluateResult
          def disown: (handles: Array[String], target: ::Selenium::WebDriver::BiDi::Protocol::Script::Target) -> untyped
          def evaluate: (expression: String, target: ::Selenium::WebDriver::BiDi::Protocol::Script::Target, await_promise: bool, ?result_ownership: Symbol, ?serialization_options: ::Selenium::WebDriver::BiDi::Protocol::Script::SerializationOptions, ?user_activation: bool) -> ::Selenium::WebDriver::BiDi::Protocol::Script::EvaluateResult
          def get_realms: (?context: String, ?type: Symbol) -> ::Selenium::WebDriver::BiDi::Protocol::Script::GetRealmsResult
          def remove_preload_script: (script: String) -> untyped
        end
      end
    end
  end
end
