Skip to content

[πŸ› Bug]: fields in generated classes are not accessible (Rectangle, ArrayOfStrings)Β #16050

@m7Rahm

Description

@m7Rahm

Description

Fields of classes in devtools.v133 are not accessible. From the source code it seems like these classes are generated based on the CDP definition (ref).
Rectangle class has a private field rectangle, but it cannot be accessed, as it's not exposed.
The same issue exists for the ArrayOfStrings class, which has an inaccessible private field arrayOfStrings.
This issue probably exists in other generated classes, but currently these are the ones we are interested in.

Reproducible Code

import org.openqa.selenium.devtools.v133.domsnapshot.model.Rectangle
import org.openqa.selenium.devtools.v133.domsnapshot.model.ArrayOfStrings

You will see that fields of classes are not accessible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-javaJava BindingsD-chromeI-defectSomething is not working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions