This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.openqa.selenium.WebDriver; | |
import org.openqa.selenium.safari.SafariDriver; | |
class SafariBugWorkaround { | |
/** | |
* Delete all the cookies for the current domain. | |
* | |
* <p>Should be used in-place of {@link WebDriver.Options#deleteAllCookies()} until <a | |
* href="">this {@code SafariDriver} bug</a> is fixed. |