Что установить в userPrefs, чтобы открыть devtools внизу в puppeteer-extra? - PullRequest
0 голосов
/ 25 февраля 2019

Я посмотрел https://github.com/GoogleChrome/puppeteer/issues/1797, и попытался установить ниже, но devtools все еще был открыт с правой стороны.

Кто-нибудь знает, что установить в userPrefs, чтобы открыть devtools внизу в puppeteer-extra?

            puppeteer.use(require('puppeteer-extra-plugin-user-preferences')({
            userPrefs: {
                devtools: {
                    currentDockState: "bottom"
                }
            }
        }))
...