@somya177 No if you use open browser inside for each means than it wiill open number of times it iterates
Refer below link