Skip to content

Commit

Permalink
temp hack for CI debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
paulk-asert committed Dec 19, 2024
1 parent 030358a commit fce3cc2
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,16 @@ class DriverConfigSpec extends Specification implements InlineConfigurationLoade
def "configuring driver using closure"() {
when:
configScript """
import org.openqa.selenium.firefox.FirefoxOptions
// tag::configuring_driver[]
import org.openqa.selenium.firefox.FirefoxDriver
driver = { new FirefoxDriver() }
// end::configuring_driver[]
// to make work in headless CI env
def firefoxOptions = new FirefoxOptions()
.addArguments('headless')
driver = { new FirefoxDriver(firefoxOptions) }
"""

then:
Expand Down

0 comments on commit fce3cc2

Please sign in to comment.