Clicks on an element that is expected to trigger a popup browser window. The that, when clicked, invokes the popup browser window. The window handle of the popup browser window. Thrown if no popup window appears within the specified timeout. <excep
(IWebElement element)
| 103 | /// <exception cref="WebDriverTimeoutException">Thrown if no popup window appears within the specified timeout.</exception> |
| 104 | /// <exception cref="ArgumentNullException">Thrown if the element to click is <see langword="null"/>.</exception> |
| 105 | public string Click(IWebElement element) |
| 106 | { |
| 107 | if (element is null) |
| 108 | { |
| 109 | throw new ArgumentNullException(nameof(element), "element cannot be null"); |
| 110 | } |
| 111 | |
| 112 | return this.Invoke(element.Click); |
| 113 | } |
| 114 | |
| 115 | /// <summary> |
| 116 | /// Invokes a method that is expected to trigger a popup browser window. |