forked from sheetjs/sheetjs
		
	- binary CSV `codepage` read option (fixes #907 h/t @popovserhii) - BIFF2-5 `codepage` read option (fixes #912 h/t @makcbrain) - `xlsx` utility `--codepage` override option - HTML support some common entities (fixes #914 h/t @razvanioan)
		
			
				
	
	
		
			10 lines
		
	
	
		
			298 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			298 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
const { Chromeless } = require('chromeless');
 | 
						|
const TEST = 'http://localhost:8000', TIME = 30 * 1000;
 | 
						|
(async() => {
 | 
						|
  const browser = new Chromeless();
 | 
						|
  const pth = await browser.goto(TEST).wait(TIME).screenshot();
 | 
						|
  console.log(pth);
 | 
						|
  await browser.end();
 | 
						|
})().catch(e=>{ console.error(e); });
 | 
						|
 |