Hi, in my test tests I have to open 3 browsers( 3 chrome instances) for login of different type of users. Now all my test suites dont require 3 browsers, most use only 2. In my config I have capabilities like
capabilities: {
studentBrowser: {
capabilities: {
browserName: 'chrome',
....
},
adminBrowser: {
capabilities: {
browserName: 'chrome',
....
}
},
staffUserBrowser: {
capabilities: {
browserName: 'chrome',
...
}
}
I want to close only staffUserBrowser instance in few tests to avoid resources utilisation. browser.closeWindow() closes all of the instances. How can I achieve this?