(WebElement el)
| 41 | } |
| 42 | |
| 43 | private static String getValueText(WebElement el) { |
| 44 | // Standardize on \n and strip any trailing whitespace. |
| 45 | return el.getAttribute("value").replace("\r\n", "\n").trim(); |
| 46 | } |
| 47 | |
| 48 | private Keys primaryModifier() { |
| 49 | return (getEffectivePlatform(driver).is(Platform.MAC)) ? Keys.COMMAND : Keys.CONTROL; |