-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
226 additions
and
51 deletions.
There are no files selected for viewing
This file contains 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 characters
This file contains 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 characters
This file contains 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 characters
This file contains 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 characters
This file contains 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 characters
This file contains 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 characters
14 changes: 12 additions & 2 deletions
14
...io/toolisticon/pogen4selenium/api/By.java → ...o/toolisticon/pogen4selenium/api/_By.java
This file contains 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 characters
This file contains 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 characters
This file contains 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 characters
This file contains 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 characters
10 changes: 5 additions & 5 deletions
10
...enium-example/src/main/java/io/toolisticon/pogen4selenium/example/TestPageTableEntry.java
This file contains 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 characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
package io.toolisticon.pogen4selenium.example; | ||
|
||
import io.toolisticon.pogen4selenium.api.By; | ||
import io.toolisticon.pogen4selenium.api._By; | ||
import io.toolisticon.pogen4selenium.api.DataObject; | ||
import io.toolisticon.pogen4selenium.api.ExtractDataValue; | ||
import io.toolisticon.pogen4selenium.api.ExtractDataValue.Kind; | ||
|
||
@DataObject | ||
public interface TestPageTableEntry { | ||
|
||
@ExtractDataValue(by = By.XPATH, value = "./td[1]") | ||
@ExtractDataValue(by = _By.XPATH, value = "./td[1]") | ||
String name(); | ||
|
||
@ExtractDataValue(by = By.XPATH, value = "./td[2]") | ||
@ExtractDataValue(by = _By.XPATH, value = "./td[2]") | ||
String age(); | ||
|
||
@ExtractDataValue(by = By.XPATH, value = "./td[3]/a", kind = Kind.ATTRIBUTE, name = "href") | ||
@ExtractDataValue(by = _By.XPATH, value = "./td[3]/a", kind = Kind.ATTRIBUTE, name = "href") | ||
String link(); | ||
|
||
@ExtractDataValue(by = By.XPATH, value = "./td[3]/a", kind = Kind.TEXT) | ||
@ExtractDataValue(by = _By.XPATH, value = "./td[3]/a", kind = Kind.TEXT) | ||
String linkText(); | ||
|
||
} |
This file contains 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 characters
This file contains 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 characters
Oops, something went wrong.