-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added documentation to some public methods * #63 small fixes in docs * #63 try to fix testSetFocus * #63 updated doc for isRemote and getLanguage updated version in pom and readme
- Loading branch information
1 parent
40a4f3c
commit 34b1995
Showing
13 changed files
with
303 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,13 @@ | ||
package aquality.selenium.browser; | ||
|
||
/** | ||
* Factory that creates instance of desired Browser based on {@link aquality.selenium.configuration.IConfiguration} | ||
*/ | ||
public interface IBrowserFactory { | ||
|
||
/** | ||
* Gets instance of Browser. | ||
* @return Instance of desired Browser. | ||
*/ | ||
Browser getBrowser(); | ||
} |
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
19 changes: 19 additions & 0 deletions
19
src/main/java/aquality/selenium/configuration/IConfiguration.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,12 +1,31 @@ | ||
package aquality.selenium.configuration; | ||
|
||
/** | ||
* Describes tool configuration. | ||
*/ | ||
public interface IConfiguration { | ||
|
||
/** | ||
* Gets desired browser profile. | ||
* @return Profile of browser. | ||
*/ | ||
IBrowserProfile getBrowserProfile(); | ||
|
||
/** | ||
* Gets configuration of timeouts. | ||
* @return Configuration of timeouts. | ||
*/ | ||
ITimeoutConfiguration getTimeoutConfiguration(); | ||
|
||
/** | ||
* Gets configuration of retries. | ||
* @return Configuration of retries. | ||
*/ | ||
IRetryConfiguration getRetryConfiguration(); | ||
|
||
/** | ||
* Gets configuration of logger. | ||
* @return Configuration of logger. | ||
*/ | ||
ILoggerConfiguration getLoggerConfiguration(); | ||
} |
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
27 changes: 27 additions & 0 deletions
27
src/main/java/aquality/selenium/configuration/ITimeoutConfiguration.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,16 +1,43 @@ | ||
package aquality.selenium.configuration; | ||
|
||
/** | ||
* Describes timeouts configuration. | ||
*/ | ||
public interface ITimeoutConfiguration { | ||
|
||
/** | ||
* Gets WedDriver ImplicitWait timeout. | ||
* @return ImplicitWait timeout. | ||
*/ | ||
long getImplicit(); | ||
|
||
/** | ||
* Gets default ConditionalWait timeout. | ||
* @return ConditionalWait timeout. | ||
*/ | ||
long getCondition(); | ||
|
||
/** | ||
* Gets WedDriver AsynchronousJavaScript timeout. | ||
* @return AsynchronousJavaScript timeout. | ||
*/ | ||
long getScript(); | ||
|
||
/** | ||
* Gets WedDriver PageLoad timeout. | ||
* @return PageLoad timeout. | ||
*/ | ||
long getPageLoad(); | ||
|
||
/** | ||
* Gets ConditionalWait polling interval. | ||
* @return ConditionalWait polling interval. | ||
*/ | ||
long getPollingInterval(); | ||
|
||
/** | ||
* Gets Command timeout. | ||
* @return Command timeout. | ||
*/ | ||
long getCommand(); | ||
} |
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.