From 4295f7d7156b068bb7779afd049fd1d68e926a29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dar=C3=ADo=20Kondratiuk?= Date: Wed, 30 Oct 2019 07:27:46 -0300 Subject: [PATCH] Improve WaitForSelector docs (#1319) --- lib/PuppeteerSharp/WaitForSelectorOptions.cs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/PuppeteerSharp/WaitForSelectorOptions.cs b/lib/PuppeteerSharp/WaitForSelectorOptions.cs index 3855c8f88..dc26d2c9c 100644 --- a/lib/PuppeteerSharp/WaitForSelectorOptions.cs +++ b/lib/PuppeteerSharp/WaitForSelectorOptions.cs @@ -8,17 +8,19 @@ public class WaitForSelectorOptions { /// - /// 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 method /// public int? Timeout { get; set; } /// - /// Wait for selector to become visible. + /// Wwit for element to be present in DOM and to be visible. /// public bool Visible { get; set; } /// - /// Wait for selector to become hidden. + /// Wait for element to not be found in the DOM or to be hidden. /// public bool Hidden { get; set; } }