0

Im testing with selenium in java but I have a problem.

This is my code:

List <WebElement> frame = driver.findElements(By.tagName("iframe"));

Problem is: "Multiple markers at this line - The type List is not generic; it cannot be parameterized with arguments "

I tried this solution but not working.

import java.util.List;

This problem output is:

The import java.util.List collides with another import statement

What will I do ?

Cyberoot
  • 1
  • 1
  • 1

0 Answers0