Jalenium Commands - Initializing the browser

This section we will see how we can initializing the browser in your test. Jalenium uses WebDriver manager and there is no need to additionally download and specify the chrome driver and gecko driver

  • Start Jalenium with chrome add the following command

new Jalenium();
  • Start Jalenium with chrome headless

new Jalenium(true);
  • Start Jalenium with Firefox

new Jalenium("Firefox");
  • Start Jalenium with Firefox headless

new Jalenium("Firefox--headless");

Last updated