How to use Protractor with Puppeteer?
See original GitHub issueQuestion/Feature Request
Angular CLI: 1.6.7
Node: 9.5.0
OS: linux x64
Angular: 5.2.3
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router
@angular/cli: 1.6.7
@angular-devkit/build-optimizer: 0.0.42
@angular-devkit/core: 0.0.29
@angular-devkit/schematics: 0.0.52
@ngtools/json-schema: 1.1.0
@ngtools/webpack: 1.9.7
@schematics/angular: 0.1.17
typescript: 2.5.3
webpack: 3.10.0
So I tried already to use the headless features, like you say on the readme.
chromeOptions: {
args: [ '--headless', '--disable-gpu', '--window-size=800x600' ]
}
However, I’m more interested in using e2e (protractor) in combination with Chrome headless by using Puppeteer. Just like CodeceptJS supports this already.
Currently it can’t find Chrome: unknown error: cannot find Chrome binary. (since I don’t want to install it)
I just want to run Protractor like I can run karma via Puppeteer. Without the need to install Chrome on my setup. But instead via npm, so I can have better continuous integration.
Regards, Melroy
Issue Analytics
- State:
- Created 6 years ago
- Comments:16
Top Results From Across the Web
protractor-puppeteer-plugin - npm
Start using protractor-puppeteer-plugin in your project by running `npm i protractor-puppeteer-plugin`. There are no other projects in the ...
Read more >Why did Google develop Puppeteer if Protractor was already ...
1 Answer 1 · Protractor is an external web application testing tool while Puppeteer is node module of the Chromium engine. · Chromium...
Read more >Difference between Puppeteer and Protractor - GeeksforGeeks
1. It is made to support some specific engines only. It can support different types of browsers. ; 2. In this, to test...
Read more >Comparison Between Puppeteer & Protractor - Tutorialspoint
6, Puppeteer can be used to work on the majority of features in the DevTools in the Chrome browser. Protractor cannot be used...
Read more >Protractor-puppeteer-plugin - npm.io
The main goal of this plugin is to enable the use of two tools in autotests written on Protractor. Also, this plugin can...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@danger89 I am successfully using that with following settings:
Does anyone know an automated way of keeping the webdriver and the version of chrome\chromium that Puppeteer has downloaded in sync? Is there a way to get Selenium to use Puppeteer’s
browser
object instead of webdriver so I don’t need to keep them in sync?