Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

zeyus
Copy link

@zeyus zeyus commented Oct 4, 2016

…own|up} not working on non-input elements.

* @param string $xpath
* @param string $text example: "Firstname\tLast\[email protected]\r"
*
*/
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This method can be useful, but needs to be added to:

  1. driver test suite
  2. driver interface
  3. at least to 2 other drivers

$this->withSyn()->executeJsOnXpath($xpath, $script);
}

/**
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mink drivers are abstractions. So the phpdoc of methods should absolutely not describe them by talking about their internal implementation.

and indeed, as @aik099 said, this method won't be accepted if it is not properly added to the Mink API (btw, people are not expected to use the driver directly)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants