diff --git a/src/Frame/Frame.php b/src/Frame/Frame.php index e97351e..62e496e 100644 --- a/src/Frame/Frame.php +++ b/src/Frame/Frame.php @@ -23,7 +23,7 @@ use Psr\Log\LoggerInterface; use Psr\Log\NullLogger; -final class Frame implements FrameInterface +final class Frame implements \Stringable, FrameInterface { private LoggerInterface $logger; diff --git a/src/Frame/FrameLocator.php b/src/Frame/FrameLocator.php index 3f05f9c..920f35b 100644 --- a/src/Frame/FrameLocator.php +++ b/src/Frame/FrameLocator.php @@ -21,7 +21,7 @@ use Psr\Log\LoggerInterface; use Psr\Log\NullLogger; -final class FrameLocator implements FrameLocatorInterface +final class FrameLocator implements \Stringable, FrameLocatorInterface { private LoggerInterface $logger; diff --git a/src/Locator/Locator.php b/src/Locator/Locator.php index 31b41bc..2c14f98 100644 --- a/src/Locator/Locator.php +++ b/src/Locator/Locator.php @@ -23,7 +23,7 @@ use Psr\Log\LoggerInterface; use Psr\Log\NullLogger; -final class Locator implements LocatorInterface +final class Locator implements \Stringable, LocatorInterface { private SelectorChain $selectorChain; diff --git a/src/Locator/SelectorChain.php b/src/Locator/SelectorChain.php index 49320c8..4b82212 100644 --- a/src/Locator/SelectorChain.php +++ b/src/Locator/SelectorChain.php @@ -14,7 +14,7 @@ namespace Playwright\Locator; -final class SelectorChain implements SelectorChainInterface +final class SelectorChain implements \Stringable, SelectorChainInterface { /** @var array */ private array $selectors = [];