/**
* Opens new tab in any already open Chrome-family browser, if none found - start any new Chrome-family browser
*/
public static void openUrlInChromeFamilyBrowser(@NotNull final String url) {
try {
final BrowserConnectionManager connectionManager = BrowserConnectionManager.getInstance();
final Client chromeClient = connectionManager.findClient(new Condition<Client>() {
@Override
public boolean value(final Client client) {
final WebBrowser browser = connectionManager.getBrowser(client);
return browser != null && browser.getFamily() == BrowserFamily.CHROME;
}
});
if (chromeClient != null) {