Skip to content

[🐛 Bug]: The source code for languages (java/python/...) is not displayed as formatted text #1313

@interactive-training

Description

@interactive-training

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

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions