remove redundant checkSeleniumServer function
change notation