mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
Merge pull request #149364 from felixscheinost/feature/fix-selenium-server-standalone
selenium-server-standalone: fix useChrome = false
This commit is contained in:
commit
9ebc15aa8a
@ -26,7 +26,7 @@ in stdenv.mkDerivation rec {
|
||||
cp $src $out/share/lib/${pname}-${version}/${pname}-${version}.jar
|
||||
makeWrapper ${jre}/bin/java $out/bin/selenium-server \
|
||||
--add-flags "-cp $out/share/lib/${pname}-${version}/${pname}-${version}.jar:${htmlunit-driver}/share/lib/${htmlunit-driver.name}/${htmlunit-driver.name}.jar" \
|
||||
--add-flags ${optionalString chromeSupport "-Dwebdriver.chrome.driver=${chromedriver}/bin/chromedriver"} \
|
||||
${optionalString chromeSupport "--add-flags -Dwebdriver.chrome.driver=${chromedriver}/bin/chromedriver"} \
|
||||
--add-flags "org.openqa.grid.selenium.GridLauncherV3"
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user