aerokube / images

Browser images for Selenoid and Moon 1.x
https://aerokube.com/images/latest/
Apache License 2.0
170 stars 127 forks source link

Chrome policies from env variables. #574

Closed jeremie-code closed 2 years ago

jeremie-code commented 2 years ago

Adding Custom Chrome Policy Configuration

In corporate networks, tested environments are often using custom policy configuration in order to manage chrome browser. To set chrome browser with the same policy as the corporate networks tested, our chrome images allow to add any configuration via environment variables. For every item in the list: Chrome Policy list.

  1. Get the Linux preference name and the Linux example value as a template from the list.
  2. Set an environment variable to browser image: CH_POLICY_<preference-name>=<value>

    Example: CH_POLICY_ComponentUpdatesEnabled=false

    Note: in case data type is a list of strings or a string, escape character may be required.

codecov[bot] commented 2 years ago

Codecov Report

Base: 5.88% // Head: 5.88% // No change to project coverage :thumbsup:

Coverage data is based on head (5ee93d6) compared to base (3429a3d). Patch has no changes to coverable lines.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #574 +/- ## ====================================== Coverage 5.88% 5.88% ====================================== Files 8 8 Lines 832 832 ====================================== Hits 49 49 Misses 776 776 Partials 7 7 ``` | Flag | Coverage Δ | | |---|---|---| | go | `5.88% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aerokube#carryforward-flags-in-the-pull-request-comment) to find out more. Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aerokube). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aerokube)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

vania-pooh commented 2 years ago

@jeremie-code thank you for contribution!