-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
What happened?
I navigate to the page https://www.selenium.dev/documentation/webdriver/interactions/cookies/
The source code example for Java tab is not displayed correctly. it displays like junk characters. It is not readable.
It displayed correctly when I visited last time.
Now it is displaying as below..
import org.openqa.selenium.*; import org.openqa.selenium.chrome.ChromeDriver; public class getCookieNamed { public static void main(String[] args) { WebDriver driver = new ChromeDriver(); try { driver.get("http://www.example.com"); driver.manage().addCookie(new Cookie("foo", "bar")); // Get cookie details with named cookie 'foo' Cookie cookie1 = driver.manage().getCookieNamed("foo"); System.out.println(cookie1); } finally { driver.quit(); } } }
What browsers and operating systems are you seeing the problem on?
Chrome version 110, Windows 11
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working