Skip to content

Commit 864ac32

Browse files
committed
check if web driver command is obsolete
1 parent dc18e7f commit 864ac32

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/WebDriver/AbstractWebDriver.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,7 @@ public function __call($name, $arguments)
295295
if (preg_match('/^(get|post|delete)/', $name, $matches)) {
296296
$requestMethod = strtoupper($matches[0]);
297297
$webdriverCommand = strtolower(substr($name, strlen($requestMethod)));
298+
$dontcare = getRequestMethod($webDriverCommand); // validation
298299
} else {
299300
$webdriverCommand = $name;
300301
$requestMethod = $this->getRequestMethod($webdriverCommand);

0 commit comments

Comments
 (0)