Locates an element below the specified element. The element to look below for elements. A object for use in finding the elements. If is null.
(IWebElement element)
| 156 | /// <returns>A <see cref="RelativeBy"/> object for use in finding the elements.</returns> |
| 157 | /// <exception cref="ArgumentNullException">If <paramref name="element"/> is null.</exception> |
| 158 | public RelativeBy Below(IWebElement element) |
| 159 | { |
| 160 | if (element == null) |
| 161 | { |
| 162 | throw new ArgumentNullException(nameof(element), "Element relative to cannot be null"); |
| 163 | } |
| 164 | |
| 165 | return SimpleDirection("below", element); |
| 166 | } |
| 167 | |
| 168 | /// <summary> |
| 169 | /// Locates an element below the specified element. |
no outgoing calls