Commit d0b0baa0 authored by Muhammed emin köse's avatar Muhammed emin köse

Hatalı yüklenen dosyaları düzenleme

parent 7b506f94
Pipeline #34782351 canceled with stages
in 1 second
r^z
\ No newline at end of file
const puppeteer = require('puppeteer');
const devices = require('puppeteer/DeviceDescriptors');
(async () => {
const tarayici = await puppeteer.launch();
const sekme = await tarayici.newPage();
await sekme.emulate(devices['Nexus 6']);
await sekme.goto("https://eminkose.com");
await sekme.screenshot({path: 'demo.png', fullPage: true});
const title = await sekme.title();
const description = await sekme.evaluate(() =>
document.querySelector("meta[name='description']").getAttribute("content"));
var json = [ "demo.png", title, description];
console.log(json);
await tarayici.close();
})();
r^z
\ No newline at end of file
const puppeteer = require('puppeteer');
(async () => {
const tarayici = await puppeteer.launch();
const sekme = await tarayici.newPage();
await sekme.goto("https://eminkose.com");
await sekme.screenshot({path: 'demo.png', fullPage: true});
const title = await sekme.title();
const description = await sekme.evaluate(() =>
document.querySelector("meta[name='description']").getAttribute("content"));
var json = [ "demo.png", title, description];
console.log(json);
await tarayici.close();
})();
iy-슉G^ب^zzJk7f){u^קr'izמ_4uzu܉,r^ל+׬^r'yױZhˡjiu颞K'nj!
\ No newline at end of file
{
"name": "puppeteerproje",
"version": "1.0.0",
"description": "Puppeteer dersi projesi",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+ssh://git@gitlab.com/eminks/puppeteerproje.git"
},
"author": "Muhammed Emin KÖSE",
"license": "MIT",
"bugs": {
"url": "https://gitlab.com/eminks/puppeteerproje/issues"
},
"homepage": "https://gitlab.com/eminks/puppeteerproje#README",
"dependencies": {
"puppeteer": "^1.9.0"
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment