Skip to content

Commit

Permalink
Improve WaitForSelector docs (#1319)
Browse files Browse the repository at this point in the history
  • Loading branch information
kblok authored Oct 30, 2019
1 parent fbcf6bd commit 4295f7d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions lib/PuppeteerSharp/WaitForSelectorOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,19 @@
public class WaitForSelectorOptions
{
/// <summary>
/// Maximum time to wait for in milliseconds. Pass 0 to disable timeout.
/// Maximum time to wait for in milliseconds. Defaults to `30000` (30 seconds).
/// Pass `0` to disable timeout.
/// The default value can be changed by using <seealso cref="Page.DefaultTimeout"/> method
/// </summary>
public int? Timeout { get; set; }

/// <summary>
/// Wait for selector to become visible.
/// Wwit for element to be present in DOM and to be visible.

This comment has been minimized.

Copy link
@Saibamen

Saibamen Nov 6, 2019

Typo Wwit

This comment has been minimized.

Copy link
@kblok

kblok Nov 6, 2019

Author Member

Fixed here.

/// </summary>
public bool Visible { get; set; }

/// <summary>
/// Wait for selector to become hidden.
/// Wait for element to not be found in the DOM or to be hidden.
/// </summary>
public bool Hidden { get; set; }
}
Expand Down

0 comments on commit 4295f7d

Please sign in to comment.