o

gwen.web

WebSettings

object WebSettings

Provides access to gwen web settings defined through system properties loaded from properties files.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WebSettings
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def gwen.web.accept.untrusted.certs: Boolean

    Provides access to the gwen.web.accept.untrusted.certs setting used to control whether or not the web driver should accept untrusted (self signed) SSL certificates (default value is true).

  11. def gwen.web.authorize.plugins: Boolean

    Provides access to the gwen.authorize.plugins setting used to control whether or not the browser should authorize browser plugins.

    Provides access to the gwen.authorize.plugins setting used to control whether or not the browser should authorize browser plugins. (default value is false).

  12. def gwen.web.browser: String

    Provides access to the gwen.web.browser setting used to set the target browser (default value is chrome).

    Provides access to the gwen.web.browser setting used to set the target browser (default value is chrome). Valid values include chrome, firefox, safari, ie, and edge

  13. def gwen.web.browser.headless: Boolean

    Provides access to the gwen.web.browser.headless setting used to control whether or not the browser should run headless.

    Provides access to the gwen.web.browser.headless setting used to control whether or not the browser should run headless. (default value is false).

  14. def gwen.web.browser.size: Option[(Int, Int)]

    Provides access to the gwen.web.browser.size setting used to set the browser window size.

    Provides access to the gwen.web.browser.size setting used to set the browser window size. Expects value matching width x height (e:g 1200 x 800 for height 1200 and width 800). This setting is only applicable if the gwen.web.maximize is not set to true.

  15. def gwen.web.capabilities: Map[String, String]

    Provides access to the web capabilities settings.

    Provides access to the web capabilities settings. This setting merges a comma separated list of capabilities set in the gwen.web.capabilities property with all properties that start with gwen.web.capability.. See: https://github.com/SeleniumHQ/selenium/wiki/DesiredCapabilities

  16. def gwen.web.capture.screenshots: Boolean

    Provides access to the gwen.web.capture.screenshots setting used to control whether or not the web driver should capture screenshots for all steps (default value is false).

    Provides access to the gwen.web.capture.screenshots setting used to control whether or not the web driver should capture screenshots for all steps (default value is false). Note that setting this to true degrades performance significantly. If the setting is true, then the gwen.report.slideshow.create setting is also implicitly set to true so that the report generator in core web component knows to generate the slideshow.

  17. def gwen.web.capture.screenshots.duplicates: Boolean

    Provides access to the gwen.web.capture.screenshots.duplicates setting used to control whether or not the web driver should capture or discard contiguously duplicate screenshots (default value is false ~ to discard).

    Provides access to the gwen.web.capture.screenshots.duplicates setting used to control whether or not the web driver should capture or discard contiguously duplicate screenshots (default value is false ~ to discard). If set to false, then a screenshot will be discarded if its size in bytes matches that of the last captured screenshot.

  18. def gwen.web.capture.screenshots.highlighting: Boolean

    Provides access to the gwen.web.capture.screenshots.highlighting setting used to control whether or not the web driver should capture screenshots for all steps that highlight elements on a page (default value is false).

    Provides access to the gwen.web.capture.screenshots.highlighting setting used to control whether or not the web driver should capture screenshots for all steps that highlight elements on a page (default value is false). Note that setting this to true degrades performance significantly.

  19. def gwen.web.chrome.args: List[String]

    Provides access to the gwen.web.chrome.args setting used to set the list of Chrome web driver arguments to load (default is empty list).

    Provides access to the gwen.web.chrome.args setting used to set the list of Chrome web driver arguments to load (default is empty list). This setting merges a comma separated list of arguments set in the gwen.web.chrome.args property with all the value of all properties that start with gwen.web.chrome.args.. List of chrome arguments: https://peter.sh/experiments/chromium-command-line-switches

  20. def gwen.web.chrome.extensions: List[File]

    Provides access to the gwen.web.chrome.extensions settings use to set the list of Chrome web browser extensions to load (default is empty list).

    Provides access to the gwen.web.chrome.extensions settings use to set the list of Chrome web browser extensions to load (default is empty list). The settings accepts a comma separated list of paths to extensions (.crx files or location paths). Each extension provided is loaded into the Chrome web driver.

  21. def gwen.web.chrome.mobile: Map[String, String]

    Provides access to the chrome mobile emulation settings.

    Provides access to the chrome mobile emulation settings. This setting merges a comma separated list of values set in the gwen.web.chrome.mobile property with all properties that start with gwen.web.chrome.mobile.. See: https://github.com/gwen-interpreter/gwen-web/wiki/Runtime-Settings#mobile-emulation-by-device-name See: https://github.com/gwen-interpreter/gwen-web/wiki/Runtime-Settings#mobile-emulation-by-device-metrics

  22. def gwen.web.chrome.prefs: Map[String, String]

    Provides access to the chrome preference settings.

    Provides access to the chrome preference settings. This setting merges a comma separated list of preferences set in the gwen.web.chrome.prefs property with all properties that start with gwen.web.chrome.pref.. List of chrome prefs: https://chromium.googlesource.com/chromium/src/+/master/chrome/common/pref_names.cc

  23. def gwen.web.firefox.prefs: Map[String, String]

    Provides access to the firefox preference settings.

    Provides access to the firefox preference settings. This setting merges a comma separated list of preferences set in the gwen.web.firefox.prefs property with all properties that start with gwen.web.firefox.pref.. List of firefox prefs: https://stackoverflow.com/questions/25251583/downloading-file-to-specified-location-with-selenium-and-python

  24. def gwen.web.highlight.style: String

    Provides access to the gwen.web.highlight.style setting used to control how elements are highlighted (default value is background: yellow; border: 2px solid gold;).

  25. def gwen.web.implicit.element.focus: Boolean

    Provides access to the gwen.web.implicit.element.focus setting used to determine whether or not Gwen should implicitly put the focus on all located web elements.

    Provides access to the gwen.web.implicit.element.focus setting used to determine whether or not Gwen should implicitly put the focus on all located web elements. Default value is true.

  26. def gwen.web.implicit.js.locators: Boolean

    Provides access to the gwen.web.implicit.js.locators setting used to determine whether or not Gwen should implicitly convert all locator bindings to JavaScript equivalents to force all elements to be located by executing javascript on the page.

    Provides access to the gwen.web.implicit.js.locators setting used to determine whether or not Gwen should implicitly convert all locator bindings to JavaScript equivalents to force all elements to be located by executing javascript on the page. Default value is false.

  27. def gwen.web.locator.wait.seconds: Long

    Provides access to the gwen.web.locator.wait.seconds setting used to set the implicit locator wait/timeout time in the web driver (default is gwen.web.wait.seconds seconds).

  28. def gwen.web.maximize: Boolean

    Provides access to the gwen.web.maximize setting used to control whether or not the web driver should maximize the browser window (default value is false).

  29. def gwen.web.remote.url: Option[String]

    If set, allows gwen-web to connect to a remote webdriver.

  30. def gwen.web.sendKeys.clearFirst: Boolean

    Provides access to the gwen.web.sendKeys.clearFirst setting used to control whether or not Gwen will clear fields before sending keys to them.

    Provides access to the gwen.web.sendKeys.clearFirst setting used to control whether or not Gwen will clear fields before sending keys to them. (default value is false).

  31. def gwen.web.suppress.images: Boolean

    Provides access to the gwen.web.suppress.images setting used to control whether or not image rendering will be suppressed in the browser (default value is false).

    Provides access to the gwen.web.suppress.images setting used to control whether or not image rendering will be suppressed in the browser (default value is false). Currently this capability is only supported in firefox driver.

  32. def gwen.web.throttle.msecs: Long

    Provides access to the gwen.web.throttle.msecs setting used to control the wait between javascript evaluations and duration of element highlighting (default value is 100 msecs).

  33. def gwen.web.useragent: Option[String]

    Provides access to the gwen.web.useragent setting used to set the user agent header in the browser (currently only supported for firefox and chrome).

  34. def gwen.web.wait.seconds: Long

    Provides access to the gwen.web.wait.seconds setting used to set the implicit timeout/wait time in the web driver (default is 10 seconds).

    Provides access to the gwen.web.wait.seconds setting used to set the implicit timeout/wait time in the web driver (default is 10 seconds). This value is also used as the default for gwen.web.locator.wait.seconds.

  35. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  36. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  37. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  38. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  39. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  40. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  41. def toString(): String
    Definition Classes
    AnyRef → Any
  42. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  45. def webdriver.chrome.driver: Option[String]

    Chrome driver setting.

  46. def webdriver.edge.driver: Option[String]

    Edge driver setting.

  47. def webdriver.gecko.driver: Option[String]

    Gecko (firefox) driver setting.

  48. def webdriver.ie.driver: Option[String]

    IE driver setting.

Inherited from AnyRef

Inherited from Any

Ungrouped