diff --git a/src/Context/BasicContext.php b/src/Context/BasicContext.php index 0001ed11..f57ae454 100644 --- a/src/Context/BasicContext.php +++ b/src/Context/BasicContext.php @@ -1332,11 +1332,6 @@ protected function logException(Exception $exception) */ public function iShouldSeeTheElement($not, $cssSelector = '') { - // backwards compatibility for when function signature was just ($cssSelector) - if (!in_array($not, ['', ' not'])) { - $not = ''; - $cssSelector = $not; - } $sel = str_replace('"', '\\"', $cssSelector ?? ''); $js = <<