Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
26 | public function tweet($text) |
||
27 | { |
||
28 | |||
29 | $element = $this->webDriver->byXpath($this->theme->getTweetBoxXpath()); |
||
30 | $element->click(); |
||
31 | |||
32 | $this->webDriver->getKeyboard()->sendKeys($text); |
||
33 | |||
34 | $element = $this->webDriver->byXpath($this->theme->getTweetButton()); |
||
35 | $element->click(); |
||
36 | |||
37 | } |
||
38 | |||
39 | } |