api testing using selenium webdriver