Code Monkey home page Code Monkey logo

Comments (5)

bayandin avatar bayandin commented on May 24, 2024

Yes, you're right. The Proxy itself (proxy.py) is fully compatible with Windows already. The thing that is incompatible with Windows is a Chrome wrapper (chrome-wrapper.sh). I see 2 possible solutions:

  • write chrome-wrapper.bat (or .ps1) which will work the same as chrome-wrapper.sh does.
  • write chrome-wrapper.py in Python and replace chrome-wrapper.sh with it. Then there is no need to support 2 different wrappers for different systems (I prefer this way, to be honest, but it will require more time).

from devtools-proxy.

SergeyPirogov avatar SergeyPirogov commented on May 24, 2024

Will try to run it on Linux and understand how it works, then will try to create bat first. If I am not mistaken, by using chrome-wrapper as binary in ChromeOptions, we still should set the path to chrome driver binary as well?

from devtools-proxy.

bayandin avatar bayandin commented on May 24, 2024

we still should set the path to chrome driver binary as well?

Did you mean Chrome (not chrome driver)? If so, then it's not required, In the wrapper, I've tried to mimic chromedriver's heuristic for finding Chrome's binary. But if you want to use custom binary (which is not in default locations), you can add an argument --chrome-binary to ChromeOptions' args.

from devtools-proxy.

SergeyPirogov avatar SergeyPirogov commented on May 24, 2024

I meant chrome driver

from devtools-proxy.

bayandin avatar bayandin commented on May 24, 2024

devtools-proxy doesn't require any changes of chromedriver usage (it requires only additional parameters in ChromeOptions). So if you set it without proxy, then you need to set it with the proxy.

from devtools-proxy.

Related Issues (5)

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.