Skip to content

[🚀 Feature]: More details on bidirectional #1008

Open
@alaahong

Description

@alaahong

Feature and motivation

Two kinds of proposals here.

  1. How to figure out the difference between BiDi and CDP ?
    As Firefox involved recently, it should be not in BiDi page if we have to import CDP with specific Chrome version, so any clear list to present what's the pure BiDi implement or specific Browser Vendor implementation?
    e.g. When I try to work on below sample with Selenium 4.1.4
    https://www.selenium.dev/zh-cn/documentation/webdriver/bidirectional/bidi_api/#listen-to-consolelog-events
    Seems all relative classes are from Chrome part, but it's in BiDi not the CDP page
    image

  2. As we known, the BiDi is working with WebSocket, but how to native work with BiDi?
    E.g. For WebDriver, I can request specific command via HTTP directly, but I have no idea how to work with BiDi via WebScoket directly?
    Try to review the BiDi W3C spec, seems that's a draft with many descriptions only. But I can't find out any guide or steps to call BiDi directly besides set webSocketUrl as true.

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