Skip to content

[πŸ› Bug]: Incorrect line numbers being referenced on about/style pageΒ #2006

@harshitBhardwaj97

Description

@harshitBhardwaj97

What happened?

On the style page, under Reference GitHub Examples section, the incorrect line numbers are being referenced from the test scripts, due to which either the code is not shown, or incorrect code is being shown.

Incorrect.Lines.StylePage.mp4

Also, we are showing different code snippets for Kotlin vs other languages. So @diemol, @harsha509 kindly let me know which snippets need to be shown here, capturing the textbox and submitButton -

WebElement textBox = driver.findElement(By.name("my-text"));
WebElement submitButton = driver.findElement(By.cssSelector("button"));

Or capturing the message element and extracting it's text -

WebElement message = driver.findElement(By.id("message"));
message.getText();

Or if anything else apart from these ?

What browsers and operating systems are you seeing the problem on?

All

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions