Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Replace Request lib with Got #4708
In order to reduce memory usage and being able to run WebdriverIO in the browser we want to replace the heavy request lib with something more lightweight like Got.
I ultimately decided to use Got because of this comparison table:
Given that various parts of WebdriverIO (e.g. repl) relies on Node.JS APIs we won't get around having to bundle it anyway.
Types of changes
@@ Coverage Diff @@ ## master #4708 +/- ## ========================================== - Coverage 99.42% 99.42% -0.01% ========================================== Files 210 210 Lines 5561 5543 -18 Branches 1204 1195 -9 ========================================== - Hits 5529 5511 -18 Misses 29 29 Partials 3 3