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
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def on(element: Element): Unit
Click on the specified
ElementClick on the specified
Element- element
the
Elementto click on
- def on(queryString: String)(implicit driver: WebDriver, pos: Position = implicitly[source.Position]): Unit
Click on the first
Elementselected by the specified string ID or nameClick on the first
Elementselected by the specified string ID or name- queryString
the string with which to search, first by ID then by name
- driver
the
WebDriverwith which to drive the browser
- def on(query: Query)(implicit driver: WebDriver): Unit
Click on the first
Elementselected by the specifiedQueryClick on the first
Elementselected by the specifiedQuery- query
the
Querywith which to search- driver
the
WebDriverwith which to drive the browser
- def on(element: WebElement): Unit
Click on the specified
WebElementClick on the specified
WebElement- element
the
WebElementto click on
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()