GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Docs
  • Tutorials
  • Playground
  • Reference
  • code
  • SeleniumWebDriverElement

This view

  • Original page
  • New address

GeezerVison is showing next.angular.dev — SeleniumWebDriverElement • Angular

API

    
      class SeleniumWebDriverElement implements TestElement {
}
@paramelement() => webdriver.WebElement
@param_stabilize() => Promise<void>
@returnsSeleniumWebDriverElement

Blur the element.

@returnsPromise<void>

Clear the element's input (for input and textarea elements only).

@returnsPromise<void>

Click the element at the default location for the current environment. If you need to guarantee the element is clicked at a specific location, consider using click('center') or click(x, y) instead.

@parammodifiersModifierKeys | undefined
@returnsPromise<void>

Click the element at the element's center.

@paramlocation"center"
@parammodifiersModifierKeys | undefined
@returnsPromise<void>

Click the element at the specified coordinates relative to the top-left of the element.

@paramrelativeXnumber

Coordinate within the element, along the X-axis at which to click.

@paramrelativeYnumber

Coordinate within the element, along the Y-axis at which to click.

@parammodifiersModifierKeys | undefined

Modifier keys held while clicking

@returnsPromise<void>

Right clicks on the element at the specified coordinates relative to the top-left of it.

@paramrelativeXnumber

Coordinate within the element, along the X-axis at which to click.

@paramrelativeYnumber

Coordinate within the element, along the Y-axis at which to click.

@parammodifiersModifierKeys | undefined

Modifier keys held while clicking

@returnsPromise<void>

Focus the element.

@returnsPromise<void>

Get the computed value of the given CSS property for the element.

@parampropertystring
@returnsPromise<string>

Hovers the mouse over the element.

@returnsPromise<void>

Moves the mouse away from the element.

@returnsPromise<void>

Sends the given string to the input as a series of key presses. Also fires input events and attempts to add the string to the Element's value.

@paramkeys(string | TestKey)[]
@returnsPromise<void>

Sends the given string to the input as a series of key presses. Also fires input events and attempts to add the string to the Element's value.

@parammodifiersModifierKeys
@paramkeys(string | TestKey)[]
@returnsPromise<void>

Gets the text from the element.

@paramoptionsTextOptions | undefined

Options that affect what text is included.

@returnsPromise<string>

Sets the value of a contenteditable element.

@paramvaluestring

Value to be set on the element.

@returnsPromise<void>

Gets the value for the given attribute from the element.

@paramnamestring
@returnsPromise<string | null>

Checks whether the element has the given class.

@paramnamestring
@returnsPromise<boolean>

Gets the dimensions of the element.

@returnsPromise<ElementDimensions>

Gets the value of a property of an element.

@paramnamestring
@returnsPromise<T>

Sets the value of a property of an input.

@paramnewValuestring
@returnsPromise<void>

Selects the options at the specified indexes inside of a native select element.

@paramoptionIndexesnumber[]
@returnsPromise<void>

Checks whether this element matches the given selector.

@paramselectorstring
@returnsPromise<boolean>

Checks whether the element is focused.

@returnsPromise<boolean>

Dispatches an event with a particular name.

@paramnamestring

Name of the event to be dispatched.

@paramdataRecord<string, EventData> | undefined
@returnsPromise<void>
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.