All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.codeborne.selenide.Config Maven / Gradle / Ivy

The newest version!
package com.codeborne.selenide;

import org.jspecify.annotations.Nullable;
import org.openqa.selenium.MutableCapabilities;

public interface Config {
  String browser();
  boolean headless();
  @Nullable String remote();
  @Nullable String browserSize();
  @Nullable String browserVersion();
  @Nullable String browserPosition();
  boolean webdriverLogsEnabled();
  String browserBinary();
  String pageLoadStrategy();
  long pageLoadTimeout();
  MutableCapabilities browserCapabilities();

  String baseUrl();
  long timeout();
  long pollingInterval();

  /**
   * @deprecated Don't use this setting. It leaves the browser and webdriver open.
   * User can later close the browser manually, but the webdriver leaves running forever.
   */
  @Deprecated
  boolean holdBrowserOpen();

  boolean reopenBrowserOnFail();
  boolean clickViaJs();
  boolean screenshots();
  boolean savePageSource();

  String reportsFolder();
  String downloadsFolder();
  @Nullable String reportsUrl();

  boolean fastSetValue();
  TextCheck textCheck();
  SelectorMode selectorMode();
  AssertionMode assertionMode();
  FileDownloadMode fileDownload();

  boolean proxyEnabled();
  @Nullable String proxyHost();
  int proxyPort();

  long remoteReadTimeout();
  long remoteConnectionTimeout();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy