Giter Club home page Giter Club logo

Comments (2)

jonhoo avatar jonhoo commented on July 26, 2024

Thanks for the detailed report!

Hmm, this one is tricky, because we don't actually know in advance which browser we're going to be talking to. I wonder if the trick to pull here is to look in cap for se:ieOptions, and if present, to not run

fantoccini/src/session.rs

Lines 633 to 638 in 446a1c3

// make chrome comply with w3c
cap.entry("goog:chromeOptions".to_string())
.or_insert_with(|| Json::Object(serde_json::Map::new()))
.as_object_mut()
.expect("goog:chromeOptions wasn't a JSON object")
.insert("w3c".to_string(), Json::from(true));

Would you want to take a stab at writing up a PR? Should hopefully be pretty straightforward.

@stevepryde I'm curious on your take here too — how would you expect per-browser capabilities injected by fantoccini to work?

from fantoccini.

mishan88 avatar mishan88 commented on July 26, 2024

Thank you for your response! I'll try writing up a PR.
To tell you the truth, I tried thirtyfour InternetExplorerCapbilities at first, but this didn’t work well either.

from fantoccini.

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.