object click
This object is part of ScalaTest's Selenium DSL. Please see the documentation for
WebBrowser
for an overview of the Selenium DSL.
This object enables syntax such as the following:
click on "aButton"
^
- Source
- WebBrowser.scala
- Alphabetic
- By Inheritance
- click
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- def on(element: Element): Unit
Click on the specified
Element
Click on the specified
Element
- element
the
Element
to click on
- def on(queryString: String)(implicit driver: WebDriver, pos: Position = implicitly[source.Position]): Unit
Click on the first
Element
selected by the specified string ID or nameClick on the first
Element
selected by the specified string ID or name- queryString
the string with which to search, first by ID then by name
- driver
the
WebDriver
with which to drive the browser
- def on(query: Query)(implicit driver: WebDriver): Unit
Click on the first
Element
selected by the specifiedQuery
Click on the first
Element
selected by the specifiedQuery
- query
the
Query
with which to search- driver
the
WebDriver
with which to drive the browser
- def on(element: WebElement): Unit
Click on the specified
WebElement
Click on the specified
WebElement
- element
the
WebElement
to click on