Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to use puppeteer in selenium automation testing for head less chrome

If any one knows, what is puppeteer and how to use this in selenium automation for headless chrome please guide me.

Below is the link for puppeteer.

https://github.com/GoogleChrome/puppeteer

1) can i use this with java language for automation testing?

2) what is the use of using this?

I am new to this puppeteer and I wanted to use this in my project which is built on java and selenium.

like image 574
joy Avatar asked Jan 30 '23 09:01

joy


1 Answers

Puppeteer is replacement for selenium running only on Chrome. It's not possible to run puppeteer from selenium. Puppeteer is designed only for chrome and run only in Node.js environment. If you are interested in running chrome headless from selenium this thread can be valuable for you.

like image 97
Everettss Avatar answered Apr 26 '23 22:04

Everettss