Package eu.hobbydev.bracheus.settings
Klasse SeleniagramChrome
java.lang.Object
eu.hobbydev.bracheus.settings.SeleniagramChrome
The SeleniagramChrome class provides a method to configure and return ChromeOptions
for running Google Chrome in a headless mode with additional configurations for Selenium automation.
These configurations help to simulate a regular browser environment and avoid detection as a bot.
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic org.openqa.selenium.chrome.ChromeOptionsConfigures and returns a ChromeOptions object with the necessary arguments for running Chrome in a headless mode and with additional settings to prevent bot detection.
-
Konstruktordetails
-
SeleniagramChrome
public SeleniagramChrome()
-
-
Methodendetails
-
getChromeOptions
public static org.openqa.selenium.chrome.ChromeOptions getChromeOptions()Configures and returns a ChromeOptions object with the necessary arguments for running Chrome in a headless mode and with additional settings to prevent bot detection.- Gibt zurück:
- a configured ChromeOptions object.
-