Finish the recipe

This commit is contained in:
Kévin Dunglas
2021-02-03 20:05:31 +01:00
parent 84f51e8d1e
commit 0883b5786c
3 changed files with 24 additions and 1 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
"ENV PANTHER_CHROME_ARGUMENTS='--disable-dev-shm-usage'",
"RUN apk add --no-cache chromium chromium-chromedriver",
"",
"# Firefox and GeckoDriver",
"# Firefox and geckodriver",
"#ARG GECKODRIVER_VERSION=0.29.0",
"#RUN apk add --no-cache firefox",
"#RUN wget -q https://github.com/mozilla/geckodriver/releases/download/v$GECKODRIVER_VERSION/geckodriver-v$GECKODRIVER_VERSION-linux64.tar.gz; \\",
+16
View File
@@ -0,0 +1,16 @@
<bg=blue;fg=white> </>
<bg=blue;fg=white> Finish Panther Installation </>
<bg=blue;fg=white> </>
* Install <fg=green>ChromeDriver</> or <fg=green>geckodriver</> with
the package manager of your Operating System.
Alternatively, use Browser Driver Installer:
<fg=green>composer require --dev dbrekelmans/bdi</>
<fg=green>vendor/bin/bdi detect drivers</>
This step is not necessary when using Docker.
* To use Panther with PHPUnit,
uncomment the snippet registering the Panther extension in <fg=green>phpunit.xml.dist</>
@@ -30,4 +30,11 @@
<listeners>
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener" />
</listeners>
<!-- Run `composer require symfony/panther` before enabling this extension -->
<!--
<extensions>
<extension class="Symfony\Component\Panther\ServerExtension" />
</extensions>
-->
</phpunit>