Skip to content

Latest commit

 

History

History
15 lines (13 loc) · 317 Bytes

changing-the-language-of-the-browser.md

File metadata and controls

15 lines (13 loc) · 317 Bytes
title weight
Changing the language of the browser
3

You can use setEnvironmentOptions to change the language of the browser. In order to load a page in a specific language for example.

Browsershot::url('https://example.com')
   ->setEnvironmentOptions([
      'LANG' => 'en-GB',
   ])
   ...