@@ -49,9 +49,9 @@ to install ChromeDriver and geckodriver locally:
49
49
50
50
$ vendor/bin/bdi detect drivers
51
51
52
- Panther will detect and use automatically drivers stored in the ``drivers/ `` directory
52
+ Panther will detect and automatically use drivers stored in the ``drivers/ `` directory
53
53
of your project when installing them manually. You can download `ChromeDriver `_
54
- for Chromium or Chromeand `GeckoDriver `_ for Firefox and put them anywhere in
54
+ for Chromium or Chrome and `GeckoDriver `_ for Firefox and put them anywhere in
55
55
your ``PATH `` or in the ``drivers/ `` directory of your project.
56
56
57
57
Alternatively, you can use the package manager of your operating system
@@ -132,7 +132,7 @@ Creating a TestCase
132
132
~~~~~~~~~~~~~~~~~~~
133
133
134
134
The ``PantherTestCase `` class allows you to write end-to-end tests. It
135
- automatically starts your app using the built-in PHP web server and let
135
+ automatically starts your app using the built-in PHP web server and lets
136
136
you crawl it using Panther. To provide all the testing tools you're used
137
137
to, it extends `PHPUnit `_'s ``TestCase ``.
138
138
@@ -264,8 +264,7 @@ future::
264
264
}
265
265
}
266
266
267
- You can then run this test by using PHPUnit, like you would do for any other
268
- test:
267
+ You can then run this test using PHPUnit, like you would for any other test:
269
268
270
269
.. code-block :: terminal
271
270
@@ -498,13 +497,13 @@ Having a Multi-domain Application
498
497
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
499
498
500
499
It happens that your PHP/Symfony application might serve several different
501
- domain names. As Panther saves the Client in memory between tests to improve
500
+ domain names. As Panther saves the client in memory between tests to improve
502
501
performance, you will have to run your tests in separate
503
502
processes if you write several tests using Panther for different domain names.
504
503
505
504
To do so, you can use the native ``@runInSeparateProcess `` PHPUnit annotation.
506
505
Here is an example using the ``external_base_uri `` option to determine the
507
- domain name used by the Client when using separate processes::
506
+ domain name used by the client when using separate processes::
508
507
509
508
// tests/FirstDomainTest.php
510
509
namespace App\Tests;
@@ -792,7 +791,7 @@ The following features are not currently supported:
792
791
* Selecting invalid choices in select
793
792
794
793
Also, there is a known issue if you are using Bootstrap 5. It implements a
795
- scrolling effect, which tends to mislead Panther. To fix this, we advise you to
794
+ scrolling effect which tends to mislead Panther. To fix this, we advise you to
796
795
deactivate this effect by setting the Bootstrap 5 ``$enable-smooth-scroll ``
797
796
variable to ``false `` in your style file:
798
797
0 commit comments