Skip to content

Commit

Permalink
Merge pull request #36 from benmag/master
Browse files Browse the repository at this point in the history
Use id instead of elementId
  • Loading branch information
jlipps authored Oct 13, 2016
2 parents 70d4a80 + 8688b2b commit d40559f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PHPUnit/Extensions/AppiumTestCase/Element.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function byAccessibilityId($value)
public function setImmediateValue($value)
{
$data = array(
'elementId' => $this->getId(),
'id' => $this->getId(),
'value' => $value
);
$url = $this->getSessionUrl()->descend('appium')->descend('element')->descend($this->getId())->descend('value');
Expand All @@ -61,7 +61,7 @@ public function setImmediateValue($value)
public function setText($keys)
{
$data = array(
'elementId' => $this->getId(),
'id' => $this->getId(),
'value' => array($keys)
);
$url = $this->getSessionUrl()->descend('appium')->descend('element')->descend($this->getId())->descend('replace_value');
Expand Down

0 comments on commit d40559f

Please sign in to comment.