Skip to content

Commit 4295f7d

Browse files
authored
Improve WaitForSelector docs (#1319)
1 parent fbcf6bd commit 4295f7d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

lib/PuppeteerSharp/WaitForSelectorOptions.cs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,19 @@
88
public class WaitForSelectorOptions
99
{
1010
/// <summary>
11-
/// Maximum time to wait for in milliseconds. Pass 0 to disable timeout.
11+
/// Maximum time to wait for in milliseconds. Defaults to `30000` (30 seconds).
12+
/// Pass `0` to disable timeout.
13+
/// The default value can be changed by using <seealso cref="Page.DefaultTimeout"/> method
1214
/// </summary>
1315
public int? Timeout { get; set; }
1416

1517
/// <summary>
16-
/// Wait for selector to become visible.
18+
/// Wwit for element to be present in DOM and to be visible.
1719
/// </summary>
1820
public bool Visible { get; set; }
1921

2022
/// <summary>
21-
/// Wait for selector to become hidden.
23+
/// Wait for element to not be found in the DOM or to be hidden.
2224
/// </summary>
2325
public bool Hidden { get; set; }
2426
}

0 commit comments

Comments
 (0)