Hardware FixRecommendedDevice not working? Your driver may be the problemCheck updates for common hardware issues.Fix DriversOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix Now×
Skip to content
World desk2 min

Browserless से वेबसाइट का स्क्रीनशॉट कैसे लें?

Browserless के REST Screenshot API से वेबसाइट को PNG में सेव करने के चरण, cURL/Python/JavaScript उदाहरण और सामान्य त्रुटियों के उपाय।
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Browserless से वेबसाइट का स्क्रीनशॉट लेने का सबसे सीधा तरीका उसका REST Screenshot API है: अपने API token के साथ POST /screenshot अनुरोध भेजें, JSON में वेबसाइट का URL और स्क्रीनशॉट विकल्प दें, फिर लौटे हुए image data को फ़ाइल में सेव करें। नीचे cURL, Python और JavaScript के उदाहरण और सामान्य समस्याओं के उपाय दिए गए हैं।

शुरू करने से पहले: API token और सही endpoint लें

Browserless खाते के dashboard से अपना API token लें। YOUR_API_TOKEN_HERE केवल placeholder है; इसे अपने token से बदलें। वास्तविक token को सार्वजनिक कोड, साझा दस्तावेज़ या client-side JavaScript में न रखें। Browserless के उदाहरण में https://production-sfo.browserless.io host है, लेकिन यह हर खाते या fleet के लिए जरूरी नहीं कि सही हो। निजी या दूसरे क्षेत्र की fleet इस्तेमाल करने पर अपने खाते से मिला endpoint चुनें।

मौजूदा REST route POST /screenshot है। Token URL के token query parameter में जाता है और request body JSON होती है। Endpoint और request विकल्पों की जानकारी Browserless Screenshot API documentation में देखें; token पाने की शुरुआत के लिए Browserless quickstart और account जानकारी उपलब्ध है।

cURL से स्क्रीनशॉट लें

यह अनुरोध उदाहरण वेबसाइट का पूरा पेज PNG के रूप में सेव करता है। --output screenshot.png response के image bytes को फ़ाइल में लिखता है—उसे JSON की तरह parse न करें।

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Sale
Philips 24 Inch Computer Monitor FHD 100Hz VA VESA Flicker-Free, 241V8LB
  • CRISP CLARITY: This 23.8″ Philips V line monitor delivers crisp Full HD 1920x1080 visuals. Enjoy movies, shows and videos with remarkable detail
  • INCREDIBLE CONTRAST: The VA panel produces brighter whites and deeper blacks. You get true-to-life images and more gradients with 16.7 million colors
  • THE PERFECT VIEW: The 178/178 degree extra wide viewing angle prevents the shifting of colors when viewed from an offset angle, so you always get consistent colors
  • WORK SEAMLESSLY: This sleek monitor is virtually bezel-free on three sides, so the screen looks even bigger for the viewer. This minimalistic design also allows for seamless multi-monitor setups that enhance your workflow and boost productivity
  • A BETTER READING EXPERIENCE: For busy office workers, EasyRead mode provides a more paper-like experience for when viewing lengthy documents
curl -X POST 
  "https://production-sfo.browserless.io/screenshot?token=YOUR_API_TOKEN_HERE" 
  -H 'Content-Type: application/json' 
  -d '{"url":"https://example.com/","options":{"fullPage":true,"type":"png"}}' 
  --output screenshot.png

अपना token और अपने खाते का सही host लगाकर command चलाएँ। सफल अनुरोध पर मौजूदा directory में screenshot.png बनती है। fullPage: true पूरे पेज को कैप्चर करता है; इसे हटाने पर सामान्यतः दिखाई दे रहा viewport कैप्चर होता है।

Python से वही अनुरोध

requests पैकेज इंस्टॉल करें—उदाहरण के लिए python -m pip install requests—फिर इस script को चलाएँ:

import requests

endpoint = "https://production-sfo.browserless.io/screenshot"
params = {"token": "YOUR_API_TOKEN_HERE"}
payload = {
    "url": "https://example.com/",
    "options": {"fullPage": True, "type": "png"},
}

response = requests.post(endpoint, params=params, json=payload, timeout=90)
response.raise_for_status()

with open("screenshot.png", "wb") as image_file:
    image_file.write(response.content)

endpoint को अपने खाते के host के अनुसार बदलें। json=payload JSON body भेजता है और response.content binary image data है, इसलिए फ़ाइल को wb मोड में लिखें। raise_for_status() HTTP त्रुटि होने पर उसे चुपचाप image फ़ाइल के रूप में सेव करने के बजाय दिखाता है।

Rank #2
Philips 22 Inch Computer Monitor FHD 100Hz VA VESA Flicker-Free, 221V8LB
  • CRISP CLARITY: This 22 inch class (21.5″ viewable) Philips V line monitor delivers crisp Full HD 1920x1080 visuals. Enjoy movies, shows and videos with remarkable detail
  • 100HZ FAST REFRESH RATE: 100Hz brings your favorite movies and video games to life. Stream, binge, and play effortlessly
  • SMOOTH ACTION WITH ADAPTIVE-SYNC: Adaptive-Sync technology ensures fluid action sequences and rapid response time. Every frame will be rendered smoothly with crystal clarity and without stutter
  • INCREDIBLE CONTRAST: The VA panel produces brighter whites and deeper blacks. You get true-to-life images and more gradients with 16.7 million colors
  • THE PERFECT VIEW: The 178/178 degree extra wide viewing angle prevents the shifting of colors when viewed from an offset angle, so you always get consistent colors

JavaScript से स्क्रीनशॉट सेव करें

Node.js में built-in fetch इस्तेमाल कर सकते हैं। यह उदाहरण response को PNG फ़ाइल में लिखता है:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
const fs = require('node:fs/promises');

async function capture() {
  const endpoint = 'https://production-sfo.browserless.io/screenshot';
  const url = new URL(endpoint);
  url.searchParams.set('token', 'YOUR_API_TOKEN_HERE');

  const response = await fetch(url, {
    method: 'POST',
    headers: { 'Content-Type': 'application/json' },
    body: JSON.stringify({
      url: 'https://example.com/',
      options: { fullPage: true, type: 'png' },
    }),
  });

  if (!response.ok) {
    throw new Error(`Browserless returned HTTP ${response.status}`);
  }

  const image = Buffer.from(await response.arrayBuffer());
  await fs.writeFile('screenshot.png', image);
}

capture().catch(console.error);

यहाँ outer url Browserless endpoint है; JSON body का url वह पेज है जिसे कैप्चर करना है। यदि आपके खाते का host अलग है, तो endpoint बदलें।

कौन-से screenshot विकल्प उपयोगी हैं?

Screenshot API URL के अलावा दिया गया HTML भी कैप्चर कर सकता है। दस्तावेज़ित image formats PNG, JPEG और WebP हैं। विकल्प options में दिए जाते हैं और screenshot configuration Puppeteer-style है।

Rank #3
Sale
Dell 24 Monitor - SE2426H - 23.8-inch FHD (1920x1080) 144Hz 1ms Display, in-Plane Switching (IPS) Technology, AMD FreeSync™, TÜV 3-Star 2X HDMI, Tilt
  • Clear visuals. Fluid motion: A 144Hz refresh rate and 1ms MPRT deliver smooth, tear‑free motion across work, gaming, and streaming for clearer, more fluid viewing.
  • Eye comfort: TÜV Rheinland 3‑star* certification reduces harmful blue light while preserving stunning color quality without compromise. *TÜV Rheinland 3-star eye comfort certification.
  • Wide viewing angle: Get consistent views across a wide 178° /178° viewing angle.
  • In-Plane Switching (IPS): See excellent color accuracy and consistency across wide viewing angles with In-plane Switching (IPS) technology.
  • Ultra-thin bezels: Maximize your viewing experience with thin bezels.
  • फ़ॉर्मैट: options.type में png, jpeg या webp चुनें। JPEG और WebP के लिए गुणवत्ता सेटिंग लागू करनी हो तो API docs में उपलब्ध quality विकल्प देखें।
  • पूरा पेज: options.fullPage: true लंबा पेज भी कैप्चर करता है; सामान्य viewport के लिए इसे छोड़ दें या false रखें।
  • निर्धारित क्षेत्र: options.clip से viewport के भीतर एक fixed rectangle कैप्चर किया जा सकता है।
  • किसी element का screenshot: REST request के top level पर selector दें। इसे options.clip से न मिलाएँ: पहला CSS selector से element चुनता है, दूसरा आयताकार क्षेत्र तय करता है।
  • Viewport और scale: viewport/device scale से आउटपुट का आकार और pixel density प्रभावित हो सकती है; जरूरत के अनुसार संबंधित Puppeteer-style विकल्प दें।

हर विकल्प एक साथ देने की जरूरत नहीं है। शुरुआत में केवल url, fullPage और format रखें; फिर सटीक जरूरत के अनुसार REST विकल्पों की सूची से selector, clip या viewport सेटिंग जोड़ें।

Lazy-loaded सामग्री और अवरुद्ध पेज ठीक करें

नीचे के हिस्से या चित्र गायब हैं

कुछ साइटें तभी चित्र या अन्य सामग्री लोड करती हैं जब पेज नीचे तक scroll किया जाए। Browserless के screenshot मार्गदर्शन में ऐसे मामलों के लिए scrollPage: true का सुझाव है। पूरे पेज की जरूरत हो तो इसे fullPage: true के साथ आजमाएँ।

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

CAPTCHA, blank page या access denied दिखता है

CAPTCHA, खाली पेज या access-denied/403 परिणाम इस बात का संकेत हो सकते हैं कि लक्ष्य साइट automated browsing रोक रही है। Browserless anti-bot मामलों के लिए /unblock endpoint और बेहतर परिणाम के लिए residential proxies का उल्लेख करता है, लेकिन इनमें से कोई तरीका सफलता की गारंटी नहीं देता। साइट की access policy और अनुमति का पालन करें।

Rank #4
Sale
Samsung 27" Essential S3 (S36GD) Series FHD 1800R Curved Computer Monitor
  • CURVED FOR ENHANCED ENGAGEMENT: An immersive viewing experience with a curved monitor that wraps more closely around your field of vision; It creates a wider view, enhancing depth perception and minimizing peripheral distraction
  • SMOOTH PERFORMANCE FOR SEAMLESS CONTENT: Stay in the action when playing games, watching videos, or working on creative projects; The 100Hz refresh rate reduces lag and motion blur so you don't miss a thing in fast-paced moments¹
  • MORE GAMING POWER: Gain the edge with optimizable game settings; Color and image contrast can be adjusted to see scenes more vividly and spot enemies hiding in the dark; Game Mode adjusts any game to fill the screen so you can view every detail²
  • KEEP IT EASY ON THE EYES: Care for your eyes and stay comfortable, even during long sessions; Advanced eye comfort technology certified by TÜV reduces eye strain by minimizing blue light and reducing irritating screen flicker²
  • INCREASED VERSATILITY: Connect to more; Plug devices straight into your monitor for increased flexibility, making your computing environment even more convenient
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

वैकल्पिक तरीका: BrowserQL

यदि आप पहले से Browserless के GraphQL API का उपयोग कर रहे हैं, तो BrowserQL mutation से navigation और screenshot एक flow में कर सकते हैं। Browserless के उदाहरण में screenshot image bytes के बजाय base64 में लौटता है, इसलिए उसे फ़ाइल में लिखने से पहले decode करना पड़ता है। REST उदाहरण से शुरुआत करने वाले पाठक के लिए यह अलग response handling अनावश्यक है।

BrowserQL screenshot use case और REST Screenshot API की तुलना करके वही तरीका चुनें जो आपके मौजूदा integration से मेल खाता हो।

Or skip the browser setup

अगर आपको browser या Browserless host configure नहीं करना है, तो ScreenshotNeo एक GET request से PNG, JPEG, WebP या PDF देता है। इससे पहले यह cookie/consent banners, newsletter popups और chat widgets हटाता है; bot checks/CAPTCHAs, blank pages और failed loads के लिए शुल्क नहीं लगता। AI agents के लिए MCP server में take_screenshot, get_page_info और capture_pdf tools हैं। हर महीने 1,000 screenshots मुफ्त हैं، card की जरूरत नहीं; paid plans $5 में 3,000 से शुरू होते हैं।

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

API key लेकर यह cURL उदाहरण चलाएँ—API docs में endpoint और response की जानकारी है:

Best Value
Sale
Sceptre New 22-Inch Gaming Monitor, FHD 1080p, Up to 144Hz, HDMI, DisplayPort, Built-in Speakers, Machine Black (E225W-FW144 Series, 2026)
  • 【INTEGRATED SPEAKERS】Whether you're at work or in the midst of an intense gaming session, our built-in speakers provide rich and seamless audio, all while keeping your desk clutter-free.
  • 【EASY ON THE EYES】 Protect your eyes and enhance your comfort with Blue-Light Shift technology. This feature reduces harmful blue light emissions from your screen, helping to alleviate eye strain during long hours of use and promoting healthier viewing habits.
  • 【WIDEN YOUR PERSPECTIVE】Our sleek minimal bezel design ensures undivided attention. The nearly bezel-free display seamlessly connects in a dual monitor arrangement, delivering an unobstructed view that lets you focus on more at once, completely distraction-free.
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://example.com/ -o shot.webp

मुफ्त खाते के लिए साइन अप करें और हर महीने 1,000 screenshots बिना card के लें।

Frequently Asked Questions

क्या Browserless screenshot API JSON लौटाता है?

नहीं। REST screenshot अनुरोध का उत्तर image data है; उसे binary फ़ाइल में सेव करें।

क्या screenshot के लिए सिर्फ दिखाई दे रहा हिस्सा कैप्चर कर सकता हूँ?

हाँ। पूरे पेज के लिए options.fullPage: true दें; इसे हटाकर सामान्य viewport कैप्चर करें।

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. Shenzhen desk3 min
    HONOR Expands Beyond Smartphones With Humanoid Robot RevealHONOR said it unveiled its first humanoid robot at MWC 2026 and named shopping assistance, workplace inspections, and supportive companionship as intended uses. Later Robotics D1 claims and a reported…
  2. Cupertino desk5 min
    Apple Unveils AirPods Max 2: The Upgrade That Should Have Happened Years AgoAirPods Max 2 adds H2-powered audio features and Apple claims up to 1.5× more effective ANC, but its design, Smart Case, and 20-hour battery rating are unchanged. Wired lossless audio…
  3. Cupertino desk4 min
    Apple’s OLED Touch MacBooks Are Coming—but the Dynamic Island Is the Real GambleApple has not announced an OLED touchscreen MacBook, but reports point to high-end models arriving in late 2026 or early 2027. The reported Mac Dynamic Island could be useful, but…
Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.