Checkbox-radio-button-operations Invalid Solution with Java SE 1.8

Hello,

The Solution for the exercise about checkbox selection with WebElement seems to be invalid with Java SE 1.8.

I can’t use  WebElement oCheck Box :

WebElement oCheck Box = driver.findElement(By.cssSelector(“input[value=’Selenium IDE’]”));

instead, I directly invoke an instance of WebElement like this:

WebElement Box1 = driver.findElement(By.cssSelector(“input[value=’Selenium IDE’]”));

Box1.click();

 

regards,

 

Hugo Maury

Default Asked on December 4, 2018 in Selenium WebDriver.
Add Comment
  • 0 Answer(s)
  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.