captbaritone/codeception-mailcatcher-module
Auf GitHub ansehenGet URL for link labelled X
Open
#43 geöffnet am 27. Nov. 2018
enhancementhelp wanted
Repository-Metriken
- Stars
- (111 Stars)
- PR-Merge-Metriken
- (Keine gemergten PRs in 30 T)
Beschreibung
Feature request
Add a new method that allows the user to specify a link label, of which the method returns the URL that the label is linked to.
e.g. if I have an email with 2 links:
<a href="http://first-link.com">First link</a><a href="http://second-link.com">Second link</a>
It would be great if we could do something like: $I->getUrlForLink('Second link') to get the URL from the second link.
Feel free to make the method name anything you like that makes sense.