C# Класс OpenQA.Selenium.Remote.RenderedRemoteWebElement

Provides a mechanism to find Rendered Elements on the page
Наследование: RemoteWebElement, IRenderedWebElement
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
DragAndDropBy ( int moveRightBy, int moveDownBy ) : void

Move to an element, MouseDown on the element and move it by passing in the how many pixels horizontally and vertically you wish to move it

DragAndDropOn ( IRenderedWebElement element ) : void

Drag and Drop an element to another element

GetValueOfCssProperty ( string propertyName ) : string

Method to return the value of a CSS Property

Hover ( ) : void

Moves the mouse over the element to do a hover

Описание методов

DragAndDropBy() публичный Метод

Move to an element, MouseDown on the element and move it by passing in the how many pixels horizontally and vertically you wish to move it
public DragAndDropBy ( int moveRightBy, int moveDownBy ) : void
moveRightBy int Integer to move it left or right
moveDownBy int Integer to move it up or down
Результат void

DragAndDropOn() публичный Метод

Drag and Drop an element to another element
public DragAndDropOn ( IRenderedWebElement element ) : void
element IRenderedWebElement Element you wish to drop on
Результат void

GetValueOfCssProperty() публичный Метод

Method to return the value of a CSS Property
public GetValueOfCssProperty ( string propertyName ) : string
propertyName string CSS property key
Результат string

Hover() публичный Метод

Moves the mouse over the element to do a hover
public Hover ( ) : void
Результат void