Есть страница https://cloud.google...ucts/calculator
В ней чекбокс Add GPUs. Нужно его выбрать. Пытаюсь сделать так
WebElement checkAddGRU = new WebDriverWait(driver, 20) .until(ExpectedConditions. presenceOfElementLocated(By.xpath("//md-input-container/md-checkbox/div[contains(text(),'Add GPUs')]"))); WebElement numberOfGPU = new WebDriverWait(driver, 20) .until(ExpectedConditions.elementToBeClickable(By.xpath("//md-select[@placeholder='Number of GPUs']"))); while (!numberOfGPU.isDisplayed()) { checkAddGRU.click(); }
Но ничего не выходит. Что именно я делаю не так?