Have one button when clicking in lower version it sends request /api/accept
. After upgrading it sends the same request. But in latest version the API request varies /api/acceptconfirm
.
Could you please help me to clear the previous API requests from browser using selenium
driver.manage().deleteCookieNamed("Cookie name");
Please try the above code and try again