|
@@ -1076,12 +1076,16 @@ sub close {
|
|
|
=head2 quit
|
|
=head2 quit
|
|
|
|
|
|
|
|
Description:
|
|
Description:
|
|
|
- Delete the session & close open browsers. We will try to call this
|
|
|
|
|
- on our down when we get DEMOLISHed, but in the event that we are
|
|
|
|
|
- only demolished during global destruction, we will not be able to
|
|
|
|
|
- close the browser. For your own unattended and/or complicated tests,
|
|
|
|
|
- we recommend explicitly calling quit to make sure you're not leaving
|
|
|
|
|
- orphan browsers around.
|
|
|
|
|
|
|
+ DELETE the session, closing open browsers. We will try to call
|
|
|
|
|
+ this on our down when we get destroyed, but in the event that we
|
|
|
|
|
+ are demolished during global destruction, we will not be able to
|
|
|
|
|
+ close the browser. For your own unattended and/or complicated
|
|
|
|
|
+ tests, we recommend explicitly calling quit to make sure you're
|
|
|
|
|
+ not leaving orphan browsers around.
|
|
|
|
|
+
|
|
|
|
|
+ Note that as a Moo class, we use a subroutine called DEMOLISH that
|
|
|
|
|
+ takes the place of DESTROY; for more information, see
|
|
|
|
|
+ https://metacpan.org/pod/Moo#DEMOLISH.
|
|
|
|
|
|
|
|
Usage:
|
|
Usage:
|
|
|
$driver->quit();
|
|
$driver->quit();
|