filmov
tv
Launch Firefox using puppeteer | Cross browser testing with Puppeteer (Firefox and Chrome)

Показать описание
Code for both firefox and chrome :
"dependencies": {
"chai": "^4.3.4",
"mocha": "^9.0.0",
"prettier": "^2.3.1",
"puppeteer": "^10.0.0",
"puppeteer-core": "^10.0.0" --- This is new
}
//Cannot put arrow symbols in description, please see the video for proper
const puppeteerVar = require('puppeteer');
describe('My First Test ',() =(arrowmark) {
it('Launch the Broswer',async function(){
slowMo : 500 ,devtools:true})
})
})
const puppeteerVar = require('puppeteer-core');
describe('My First Test ',() =(arrowmark) {
it('Launch the Broswer',async function(){
product : 'firefox',
args:[
'-wait-for-browser'
],
})
})
Next Steps :
---------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------
Must Watch Playlists
---------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------
#CrossBrowserTesting
#LaunchFirefox
#puppeteerCore
"dependencies": {
"chai": "^4.3.4",
"mocha": "^9.0.0",
"prettier": "^2.3.1",
"puppeteer": "^10.0.0",
"puppeteer-core": "^10.0.0" --- This is new
}
//Cannot put arrow symbols in description, please see the video for proper
const puppeteerVar = require('puppeteer');
describe('My First Test ',() =(arrowmark) {
it('Launch the Broswer',async function(){
slowMo : 500 ,devtools:true})
})
})
const puppeteerVar = require('puppeteer-core');
describe('My First Test ',() =(arrowmark) {
it('Launch the Broswer',async function(){
product : 'firefox',
args:[
'-wait-for-browser'
],
})
})
Next Steps :
---------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------
Must Watch Playlists
---------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------
#CrossBrowserTesting
#LaunchFirefox
#puppeteerCore
Комментарии