You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Initializes a new instance of the <see cref="BasePage"/> class using the <see cref="AppManager.App"/> instance that verifies the page has loaded within 2 seconds.
25
-
/// </summary>
26
-
/// <exception cref="T:Legerity.Exceptions.DriverNotInitializedException">Thrown if AppManager.StartApp() has not been called.</exception>
27
-
/// <exception cref="T:Legerity.Exceptions.PageNotShownException">Thrown if the page is not shown in 2 seconds.</exception>
28
-
publicHomePage()
29
-
:this(AppManager.App,TimeSpan.FromSeconds(2))
30
-
{
31
-
}
32
-
33
-
/// <summary>
34
-
/// Initializes a new instance of the <see cref="BasePage"/> class using a <see cref="RemoteWebDriver"/> instance that verifies the page has loaded within 2 seconds.
35
-
/// </summary>
36
-
/// <param name="app">
37
-
/// The instance of the started application driver that will be used to drive the page interaction.
38
-
/// </param>
39
-
/// <exception cref="T:Legerity.Exceptions.DriverNotInitializedException">Thrown if AppManager.StartApp() has not been called.</exception>
40
-
/// <exception cref="T:Legerity.Exceptions.PageNotShownException">Thrown if the page is not shown in 2 seconds.</exception>
41
22
publicHomePage(RemoteWebDriverapp)
42
-
:this(app,TimeSpan.FromSeconds(2))
43
-
{
44
-
}
45
-
46
-
/// <summary>
47
-
/// Initializes a new instance of the <see cref="BasePage"/> class using the <see cref="AppManager.App"/> instance that verifies the page has loaded within the given timeout.
48
-
/// </summary>
49
-
/// <param name="traitTimeout">
50
-
/// The amount of time the driver should wait when searching for the <see cref="Trait"/> if it is not immediately present.
51
-
/// </param>
52
-
/// <exception cref="T:Legerity.Exceptions.DriverNotInitializedException">Thrown if AppManager.StartApp() has not been called.</exception>
53
-
/// <exception cref="T:Legerity.Exceptions.PageNotShownException">Thrown if the page is not shown in the given timeout.</exception>
54
-
publicHomePage(TimeSpan?traitTimeout)
55
-
:this(AppManager.App,traitTimeout)
56
-
{
57
-
}
58
-
59
-
/// <summary>
60
-
/// Initializes a new instance of the <see cref="BasePage"/> class using a <see cref="RemoteWebDriver"/> instance that verifies the page has loaded within the given timeout.
61
-
/// </summary>
62
-
/// <param name="app">
63
-
/// The instance of the started application driver that will be used to drive the page interaction.
64
-
/// </param>
65
-
/// <param name="traitTimeout">
66
-
/// The amount of time the driver should wait when searching for the <see cref="Trait"/> if it is not immediately present.
67
-
/// </param>
68
-
/// <exception cref="T:Legerity.Exceptions.DriverNotInitializedException">Thrown if AppManager.StartApp() has not been called.</exception>
69
-
/// <exception cref="T:Legerity.Exceptions.PageNotShownException">Thrown if the page is not shown in the given timeout.</exception>
0 commit comments