public function screenshot(string $filename): Dusk
    {
        if (substr($filename, 0, 1) !== "/") {
            $filename = "/tmp/{$filename}";
        }

        if (substr($filename, -4) !== ".png") {
            $filename .= ".png";
        }

        $this->getDriver()->takeScreenshot($filename);

        return $this;
    }