AsyncJavaScriptExecutor ClassWebDriver
Utility class used to execute "asynchronous" scripts. This class should only be used by browsers that do not natively support asynchronous script execution.

Warning: this class is intended for internal use only. This class will be removed without warning after all native asynchronous implementations have been completed.

Inheritance Hierarchy

SystemObject
  OpenQA.Selenium.InternalAsyncJavaScriptExecutor

Namespace: OpenQA.Selenium.Internal
Assembly: WebDriver (in WebDriver.dll) Version: 3.1.0
Syntax

public class AsyncJavaScriptExecutor

The AsyncJavaScriptExecutor type exposes the following members.

Constructors

  NameDescription
Public methodAsyncJavaScriptExecutor
Initializes a new instance of the AsyncJavaScriptExecutor class.
Top
Properties

  NameDescription
Public propertyTimeout
Gets or sets the timeout for the script executor.
Top
Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodExecuteScript
Executes a JavaScript script asynchronously.
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
See Also

Reference