Alternatively how to print data

Please help if any

Build a datatable with 2 columns, first name and last name.

Use open browser activity to go to the URL, then use Select Item activity to select gender.

In a while loop using a counter, click the generate button, using Get Text copy the the name, add a new data row with the first name and last name using string.split() and increment the counter.

Then write the datatable to an excel file.