Locates an element near the specified element. The element to look near for elements. A object for use in finding the elements. If is null.
(IWebElement element)
| 252 | /// <returns>A <see cref="RelativeBy"/> object for use in finding the elements.</returns> |
| 253 | /// <exception cref="ArgumentNullException">If <paramref name="element"/> is null.</exception> |
| 254 | public RelativeBy Near(IWebElement element) |
| 255 | { |
| 256 | return Near(element, 50); |
| 257 | } |
| 258 | |
| 259 | /// <summary> |
| 260 | /// Locates an element near the specified element. |