src/Concerns/MakesUrlAssertions.php
public function assertSchemeIsNot($scheme)
    {
        $actual = parse_url($this->driver->getCurrentURL(), PHP_URL_SCHEME) ?? '';

        PHPUnit::assertNotEquals(
            $scheme, $actual,
            "Scheme [{$scheme}] should not equal the actual value."
        );

        return $this;
    }
public function assertSchemeIsNot($scheme)
    {
        $actual = parse_url($this->driver->getCurrentURL(), PHP_URL_SCHEME) ?? '';

        PHPUnit::assertNotEquals(
            $scheme, $actual,
            "Scheme [{$scheme}] should not equal the actual value."
        );

        return $this;
    }
public function assertSchemeIsNot ( $ scheme ) { $ actual = parse_url ( $ this -> driver -> getCurrentURL ( ) , PHP_URL_SCHEME ) ?? '' ; PHPUnit :: assertNotEquals ( $ scheme , $ actual , "Scheme [{$scheme}] should not equal the actual value." ) ; return $ this ; }
Assert that the current scheme does not match the given scheme.

@param  string  $scheme
@return $this
Assert that the current scheme does not match the given scheme .