Last active
November 6, 2021 15:35
-
-
Save andreasneuber/e1feafe52cebd4a73a8cd32ec2d944c9 to your computer and use it in GitHub Desktop.
Revisions
-
andreasneuber revised this gist
Nov 6, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ private function extract_all_page_links( AcceptanceTester $I ): array { $I->amOnPage( '/example/' ); $url = $this->base_url . 'example/'; $aLinks = $I->grabMultiple( "//a[contains(@href,'{$url}' )]", 'href' ); -
andreasneuber created this gist
Nov 6, 2021 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ private function extract_all_team_member_links( AcceptanceTester $I ): array { $I->amOnPage( '/example/' ); $url = $this->base_url . 'example/'; $aLinks = $I->grabMultiple( "//a[contains(@href,'{$url}' )]", 'href' ); return array_unique( $aLinks ); }