HtmlUnit

com.outr.robobrowser.browser.htmlunit.HtmlUnit
See theHtmlUnit companion object
class HtmlUnit(javaScript: Boolean) extends RoboBrowser

Attributes

Companion
object
Graph
Supertypes
class RoboBrowser
class Object
trait Matchable
class Any

Members list

Type members

Inherited classlikes

object devTools

Attributes

Inherited from:
RoboBrowser
Supertypes
class Object
trait Matchable
class Any
object keyboard

Attributes

Inherited from:
RoboBrowser
Supertypes
class Object
trait Matchable
class Any
object navigate

Attributes

Inherited from:
RoboBrowser
Supertypes
class Object
trait Matchable
class Any
object storage

Attributes

Inherited from:
RoboBrowser
Supertypes
class Object
trait Matchable
class Any
object window

Attributes

Inherited from:
RoboBrowser
Supertypes
class Object
trait Matchable
class Any

Types

override type Driver = HtmlUnitDriver

Value members

Concrete methods

override def sessionId: String

Attributes

Definition Classes

Inherited methods

Attributes

Inherited from:
RoboBrowser
def atPoint(x: Int, y: Int, context: Context): Option[WebElement]

Attributes

Inherited from:
RoboBrowser
def avoidStaleReference[Return](f: => Return): Return

Attributes

Inherited from:
AbstractElement
override protected def browser: RoboBrowser

Attributes

Definition Classes
Inherited from:
RoboBrowser
override def by(by: By): List[WebElement]

Attributes

Definition Classes
Inherited from:
RoboBrowser
override def capture(): Array[Byte]

Attributes

Definition Classes
Inherited from:
RoboBrowser
override def children: List[WebElement]

Attributes

Definition Classes
Inherited from:
RoboBrowser
def clickWhenAvailable(by: By, timeout: FiniteDuration, sleep: FiniteDuration, verifyDisplayed: Boolean, verifyEnabled: Boolean): WebElement

Attributes

Inherited from:
AbstractElement
def content(context: Context): String

Attributes

Inherited from:
RoboBrowser
def debug(directory: File, name: String, saveHTML: Boolean, saveNative: Boolean, saveScreenshot: Boolean, saveLogs: Boolean): Unit

Saves HTML, Screenshot, and Browser logs for current page

Saves HTML, Screenshot, and Browser logs for current page

Value parameters

directory

the directory to write the data for

name

prefix name for each file created

Attributes

Inherited from:
RoboBrowser
protected def delay: FiniteDuration

Injects an arbitrary delay between each action invoked on the browser. Defaults to 0.

Injects an arbitrary delay between each action invoked on the browser. Defaults to 0.

Attributes

Inherited from:
RoboBrowser
def dispose(): Unit

Attributes

Inherited from:
RoboBrowser
def execute(script: String, args: AnyRef*): AnyRef

Args are referenced as arguments[0], arguments[1], etc.

Args are referenced as arguments[0], arguments[1], etc.

Value parameters

args

the optional arguments

script

the script to execute

Attributes

Returns

return value or null

Inherited from:
RoboBrowser
def executeInputStream(input: InputStream, args: AnyRef*): AnyRef

Attributes

Inherited from:
RoboBrowser
def executeTyped[T](script: String, args: AnyRef*): T

Attributes

Inherited from:
RoboBrowser
def firstBy(by: By): Option[WebElement]

Attributes

Inherited from:
AbstractElement
def fullScreen(): Unit

Attributes

Inherited from:
RoboBrowser
def ignoringPause[Return](f: => Return): Return

Attributes

Inherited from:
RoboBrowser
final def init(): Boolean

Attributes

Inherited from:
RoboBrowser
protected def initWindow(): Unit

Attributes

Inherited from:
RoboBrowser
protected def initialize(): Unit

Attributes

Inherited from:
RoboBrowser
final def initialized: Boolean

Attributes

Inherited from:
RoboBrowser
override def innerHTML: String

Attributes

Definition Classes
Inherited from:
RoboBrowser
def isDisposed: Boolean

Attributes

Inherited from:
RoboBrowser
def load(url: URL): Unit

Attributes

Inherited from:
RoboBrowser
protected def logCapabilities: Boolean

If set to true, will log the Selenium capabilities after init. Defaults to false.

If set to true, will log the Selenium capabilities after init. Defaults to false.

Attributes

Inherited from:
RoboBrowser
def on(by: By): WebElement

Special feature to work on zero, one, or many interacting as if it were a single element (similar to jQuery)

Special feature to work on zero, one, or many interacting as if it were a single element (similar to jQuery)

Attributes

Inherited from:
AbstractElement
final def oneBy(by: By): WebElement

Attributes

Inherited from:
AbstractElement
override def outerHTML: String

Attributes

Definition Classes
Inherited from:
RoboBrowser
final def postInit(): Unit

Attributes

Inherited from:
RoboBrowser
def pushFile(remotePath: String, file: File): Boolean

Attributes

Inherited from:
RoboBrowser

Attributes

Inherited from:
RoboBrowser
def save(file: File, context: Context): Unit

Attributes

Inherited from:
RoboBrowser
def saveLogs(file: File): Unit

Attributes

Inherited from:
RoboBrowser
def screenshot(file: File): Unit

Attributes

Inherited from:
RoboBrowser
def size: (Int, Int)

Attributes

Inherited from:
RoboBrowser
def sleep(duration: FiniteDuration): Unit

Attributes

Inherited from:
RoboBrowser
def supportsJavaScript: Boolean

Attributes

Inherited from:
RoboBrowser
def title: String

Attributes

Inherited from:
RoboBrowser
def url: URL

Attributes

Inherited from:
RoboBrowser
protected def verifyWindowInitialized(): Unit

Attributes

Inherited from:
RoboBrowser
def waitFor(timeout: FiniteDuration, sleep: FiniteDuration, blocking: Boolean)(condition: => Boolean): Boolean

Attributes

Inherited from:
RoboBrowser
def waitForFirst(timeout: FiniteDuration, sleep: FiniteDuration)(bys: By*): WebElement

Attributes

Inherited from:
AbstractElement
def waitForLoaded(timeout: FiniteDuration): Unit

Attributes

Inherited from:
RoboBrowser
def waitForResult[Return](timeout: FiniteDuration, sleep: FiniteDuration, timeoutResult: => Return, blocking: Boolean)(condition: => Option[Return]): Return

Attributes

Inherited from:
RoboBrowser
def waitOn(by: By, timeout: FiniteDuration, sleep: FiniteDuration, verifyDisplayed: Boolean, verifyEnabled: Boolean): Option[WebElement]

Attributes

Inherited from:
AbstractElement
def withDriverAndContext[Return](context: Context)(f: Driver => Return): Return

Attributes

Inherited from:
RoboBrowser

Inherited fields

final lazy protected val _driver: Driver

Attributes

Inherited from:
RoboBrowser
val capabilities: Capabilities

Attributes

Inherited from:
RoboBrowser
protected var chromeOptions: ChromeOptions

Attributes

Inherited from:
RoboBrowser
lazy val context: Val[Context]

Attributes

Inherited from:
RoboBrowser
val disposing: Trigger

Attributes

Inherited from:
RoboBrowser
val initializing: Channel[Driver]

Attributes

Inherited from:
RoboBrowser
val loaded: Channel[URL]

Attributes

Inherited from:
RoboBrowser
val loading: Channel[URL]

Attributes

Inherited from:
RoboBrowser

Attributes

Inherited from:
RoboBrowser
val pageChanged: Trigger

Attributes

Inherited from:
RoboBrowser
val paused: Var[Boolean]

Attributes

Inherited from:
RoboBrowser

If true, checks to make sure the window is initialized before each instruction is invoked, but no faster than every one second (defaults to true)

If true, checks to make sure the window is initialized before each instruction is invoked, but no faster than every one second (defaults to true)

Attributes

Inherited from:
RoboBrowser