Git Product home page Git Product logo

Comments (3)

christian-bromann avatar christian-bromann commented on June 12, 2024

This seems to be an WebdriverIO issue. I created an issue there. Let's continue this conversation there. Closing.

from gulp-webdriver.

yuriy-yarosh avatar yuriy-yarosh commented on June 12, 2024

@christian-bromann Man, I have no problems passing extenisions in previous 0.1.1 version - it does not spawn any wdio processes with bulky stuff.
So in 0.1.1 it was gulp-webdriver -> webdriverio.remote (& probably multiremotes should be added too) .spawn() -> webdriver instances. And it works fine with extensions 'cause it does not use shell to spawn a webdriver instance.
In 1.0.0 it is gulp-webdriver .spawn() -> SHELL -> wdio -> webdriver instances
We can't pass 200kb long command to the shell and it causes E2BIG error, which is not related to wdio/webdriverio itself.

I recommend to create temporary config file for wdio from all stuff that passed into gulp-webdriver plugin, with all extensions and other crap, and then pass it via shell to wdio as it does now. it's a bit clumsy, but definitely will work.

from gulp-webdriver.

christian-bromann avatar christian-bromann commented on June 12, 2024

I just published a new version of WebdriverIO which should fix the problem. You need to specify the extension within your wdio.conf.js in your chrome capabilities. The child process will parse the config file and pick up your extension. Of course you can't set the extension in your gulp options but there is no need to do that since you can create multiple config files (which can inherit from a base config file).

from gulp-webdriver.

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.