Commit 4d9b189 1 parent b0e7465 commit 4d9b189 Copy full SHA for 4d9b189
File tree 3 files changed +5
-4
lines changed
3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -4,14 +4,14 @@ const { chromium } = require("playwright-chromium");
4
4
const { webkit } = require ( "playwright-webkit" ) ;
5
5
6
6
( async ( ) => {
7
- // const browser = await firefox.launch({ headless: false })
7
+ const browser = await firefox . launch ( { headless : false } )
8
8
// const browser = await chromium.launch({ headless: false })
9
- const browser = await webkit . launch ( { headless : false } )
9
+ // const browser = await webkit.launch({ headless: false })
10
10
const context = await browser . newContext ( )
11
11
context . setDefaultTimeout ( 9999999 )
12
12
const page = await context . newPage ( )
13
13
14
- await page . goto ( `file:${ path . join ( __dirname , "index.html" ) } ` )
14
+ await page . goto ( `file:${ path . join ( __dirname , "index.html" ) } ` ) // 2. firefox not resolving page.goto file:
15
15
console . log ( "FIREFOX not outputting this" )
16
16
17
17
const question = await page . $ ( "h6[id^='1']" )
@@ -28,8 +28,9 @@ const { webkit } = require("playwright-webkit");
28
28
x : xStart ,
29
29
y : yStart ,
30
30
width : widthStart ,
31
- height : 1000 ,
31
+ height : 1000 , // 2. chromium and webkit not using the height here
32
32
} ,
33
+ // path: "./chromium.png",
33
34
path : "./webkit.png" ,
34
35
} )
35
36
console . log ( "FINISH" )
You can’t perform that action at this time.
0 commit comments