ScriptlessAutomation
  • 👋Welcome to Scriptless Automation
  • Discover More About Automation
    • ⚙️Automation platform intro
    • 💡Advantages of Scriptless Automation
    • 🚀Release Notes
      • 📖Open Code
      • 📕License Code
  • Product tools
    • 📪Pre-request Tools
    • 🔧Project Dependencies
  • Automation Architecture
    • 🎨Flow diagram
  • Get Started
    • 🛠️Start with Automation
    • 📖Open Code Automation
      • 🌏Web Automation
      • ↔️API Automation
    • 🏢Maven Configuration
    • 🗜️Setting Up Maven Project in IntelliJ IDEA
    • 🎛️Scriptless Config
      • 🕸️BrowserConfiguration
        • chrome.properties
      • 👥CommunicationConfiguration
        • SlackConfiguration.properties
      • 📧MailConfiguration
        • gmailCredentials.properties
      • 🛂ReportConfiguration
        • extentReportConfiguration.properties
      • 🕵️TestManagementConfiguration
        • testRail.properties
        • zephyrscale.properties
        • testiny.properties
      • ⚙️testNgConfiguration.properties
    • 🍱TestData Configuration
    • 👨‍💼Gherkin Language and Scriptless Automation Framework
  • Automation Import Notes
    • 🎨Points to Remember
  • Automation Platforms
    • 👾ScriptlessApi Automation
      • 🖊️Introduction
      • 🗜️Api Automation Setup
      • 🔃Supported API Request Types
      • 🪧API Automation Template
      • 📚Example of API Requests
        • ⬇️GET
        • ↕️POST
        • ⤵️PUT
        • ❌DELETE
      • 🎯API Response Validation
      • 👨‍👦API Dependent TestCase
      • 📝Store API Variables
      • 📔API with JSON body
      • 🙋‍♂️Api Wait
      • 🗜️API Schema Validation
      • 🏗️API Tailor-Made coding
      • 👨‍🦯API Support Generator
      • ↘️Api Response Store Objects
      • ✍️API Test Report
      • 🚃Api Response Type Validation
    • 🌐ScriptlessWeb Automation
      • 🖊️Introduction
      • 🗜️Web Automation Setup
      • 🪧Web Automation Template
      • 🧮page_object_locators
      • 📜Web Automation Key Phrases
        • 📃PAGE_NAME
        • ⌛WAIT_TYPE
        • 📜SCROLL_TYPE
        • 👨‍💼ELEMENT_NAME
        • 🏎️ACTIONS
        • ⌨️SEND_KEYS
        • ✔️VALIDATION
        • ✅VALIDATION_TYPE
      • 👨‍👦Web Dependent Test Case
      • 🐒MOCK
      • 🛂AutomationAsserts
      • 🏗️Web Tailor-Made coding
      • 📝Store Web Variables
      • 🤼‍♀️Web & API integration
      • 🖇️Dynamic Strings
      • 🗣️ReadFile Annotation for Custom Code
      • 🖼️Page_Comparison
      • 👨‍💼Gherkin Template for Web Automation
    • 📱Mobile Automation
  • 🪶Automation features
    • 🌲Environment and System Variables
    • 🗝️KeyInitializers
      • Types of KeyInitializers
    • ✍️Reporting
      • Dashboard
      • Category
      • Tests
        • Screenshot Section
    • 👯Parallel Testing
    • 🏗️Tailor-Made Coding
  • ⏩Automation Demo
Powered by GitBook
On this page

Was this helpful?

  1. Get Started
  2. Scriptless Config
  3. BrowserConfiguration

chrome.properties

Chrome Preferences:

  1. chrome.prefs.profile.default_content_settings.popups=0:

    • This setting controls the behavior of pop-up windows in the browser. The value '0' means that pop-ups are allowed by default. If you were to set it to '1', it would block pop-ups.

  2. chrome.prefs.profile.default_content_setting_values.media_stream_camera=1:

    • This preference manages the access of websites to your computer's camera. The value '1' allows websites to access the camera by default without asking for permission every time.

  3. chrome.prefs.javascript.enable=true:

    • This setting enables JavaScript to run in the browser. JavaScript is a scripting language used to create dynamic content on websites. With this set to 'true', web pages with JavaScript will function properly.

  4. chrome.prefs.credentials_enable_service=false:

    • This preference determines whether the Chrome Credential Service is enabled or not. The Chrome Credential Service helps in auto-filling credentials (like usernames and passwords) on websites. Setting this to 'false' means it's turned off, and Chrome won't assist in auto-filling credentials.

  5. chrome.prefs.profile.password_manager_enabled=false:

    • This controls the built-in password manager in Chrome. With this set to 'false', Chrome won't offer to save or suggest saved passwords when you log into websites.

Chrome Options:

  1. chrome.options.excludeSwitches=enable-automation:

    • This option makes it so that websites can't detect that Chrome is being automated or controlled by software (e.g., for web scraping or automated testing).

  2. chrome.options.no-sandbox=true:

    • The sandbox is a security feature in Chrome that isolates web page processes, preventing them from affecting the rest of your system. Disabling the sandbox can make Chrome less secure but might be necessary in some environments or for some specific automation tasks.

  3. chrome.options.disable-dev-shm-usage=true:

    • This option prevents Chrome from using shared memory. It's useful in certain environments (like Docker) where shared memory space is limited.

  4. chrome.options.mockWebCamPath=path/to/mock/webcam:

    • This is used to provide a mock webcam feed instead of the actual webcam. It's useful for testing purposes, especially when you don't want to use or show the real webcam feed.

  5. chrome.options.headless=false:

    • A 'headless' browser is one that runs without displaying its graphical user interface. Setting this to 'false' means Chrome will launch with its usual GUI. If set to 'true', it would run in the background without displaying anything.

  6. chrome.options.window-size=1920,1080:

    • This option sets the default window size of Chrome when it's launched. In this case, it's set to a width of 1920 pixels and a height of 1080 pixels.

  7. chrome.options.start-maximized=false:

    • Determines whether Chrome starts in a maximized state (taking up the whole screen) or not. 'False' means it will open in the size defined by the 'window-size' option or the default size if not specified.

File

PreviousBrowserConfigurationNextCommunicationConfiguration

Last updated 1 year ago

Was this helpful?

🎛️
🕸️
612B
chrome.properties