IDEA does not allow me to use table.raw();
I am new in cucumber so while I was learning/practising I tried to get the data from a DataTable by the following code
public void iEnterTheFollowingForLogin(DataTable table) {
List<List<String>> data = table.raw();
System.out.println("The value is : "+ data.get(1).get(0).toString());
System.out.println("The value is : "+ data.get(1).get(1).toString());
}
I realized that IDEA type the raw method in red so I think maybe it is obsolete and now I should use a newer one.