Skip to content

How to remove black whitespace ? #186

Answered by mdervisaygan
dimaslanjaka asked this question in Q&A
Discussion options

You must be logged in to vote

Look at right half screen, it blank whitespace. How to remove ?

here my codes

import path from "path";
import { connect } from "puppeteer-real-browser";
import { handleExitWithoutRestart } from "../process.js";

const start = async () => {
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
  const { page, browser } = await connect({
    headless: false,
    ignoreHTTPSErrors: true,
    customConfig: { userDataDir: path.resolve("assets/chrome-profiles/default") },
    args: [
      "--disable-blink-features=AutomationControlled", // Disables Blink feature: Automation Controlled.
      "--disable-features=HeavyAdIntervention", // Disable Chrome's blocking of intrusive ads
      

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dimaslanjaka
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants