Giter Site home page Giter Site logo

Comments (8)

github-actions avatar github-actions commented on September 13, 2024

@joerg1985, thank you for creating this issue. We will troubleshoot it as soon as we can.


Info for maintainers

Triage this issue by using labels.

If information is missing, add a helpful comment and then I-issue-template label.

If the issue is a question, add the I-question label.

If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted label.

If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C), add the applicable G-* label, and it will provide the correct link and auto-close the issue.

After troubleshooting the issue, please add the R-awaiting answer label.

Thank you!

from selenium.

joerg1985 avatar joerg1985 commented on September 13, 2024

@pujagani it would be great if this could be fixed with 4.20.0

from selenium.

diemol avatar diemol commented on September 13, 2024

I am not following, where does it say that a user needs to send "bidi: true", now?

from selenium.

joerg1985 avatar joerg1985 commented on September 13, 2024

@diemol sorry i did fail reading the spec.

But for what ever reason i get "se:bidiEnabled: false" from the chromedriver since v124 with "webSocketUrl=true" set.

from selenium.

diemol avatar diemol commented on September 13, 2024

se:bidiEnabled is added by the Grid.

from selenium.

joerg1985 avatar joerg1985 commented on September 13, 2024

@diemol something is broken, a ChromeDriver has webSocketUrl set and a RemoteWebDriver does not

        System.setProperty(
                "webdriver.chrome.driver", 
                "..\\chromedriver.exe"
        );
        org.openqa.selenium.grid.Bootstrap.main("standalone --host 127.0.0.1 --port 4567".split(" "));
        
        ChromeOptions opts = new ChromeOptions();
        opts.setCapability("webSocketUrl", true);
        ChromeDriver driver = new ChromeDriver(opts);
        driver.getBiDi();
        System.out.println("caps: " + ((HasCapabilities) driver).getCapabilities());
        
        WebDriver driver2 = new RemoteWebDriver(new URL("http://localhost:4567"), opts);
        driver2 = new Augmenter().augment(driver2);
        System.out.println("caps2: " + ((HasCapabilities) driver2).getCapabilities());
        ((HasBiDi) driver2).getBiDi(); // <<--- ClassCastException

    <dependencies>
        <dependency>
            <groupId>org.seleniumhq.selenium</groupId>
            <artifactId>selenium-java</artifactId>
            <version>4.19.1</version>
        </dependency>
        <dependency>
            <groupId>org.seleniumhq.selenium</groupId>
            <artifactId>selenium-grid</artifactId>
            <version>4.19.1</version>
        </dependency>
    </dependencies>

from selenium.

joerg1985 avatar joerg1985 commented on September 13, 2024

ChromeDriverInfo.isSupportingBiDi did return false, this has already been fixed in aaa7e79

from selenium.

github-actions avatar github-actions commented on September 13, 2024

This issue has been automatically locked since there has not been any recent activity since it was closed. Please open a new issue for related bugs.

from selenium.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.