Skip to content

Commit

Permalink
Merge 4b47256 into 92aee33
Browse files Browse the repository at this point in the history
  • Loading branch information
rombok committed Mar 16, 2021
2 parents 92aee33 + 4b47256 commit 4a5be82
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/PantherDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,14 @@ public function keyPress($xpath, $char, $modifier = null)
}
}

public function sendKeys($xpath, $keys, $modifier = null)
{
$webDriverActions = $this->getWebDriverActions();
$element = $this->getCrawlerElement($this->getFilteredCrawler($xpath));

$webDriverActions->sendKeys($element, $keys)->perform();
}

/**
* {@inheritdoc}
*/
Expand Down

0 comments on commit 4a5be82

Please sign in to comment.