Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.
  1. Choose the action "Open browser" from the "Browser" action group.


    Image Added

  2. Select "Yandex" in the action parameters under the "Browser" field.


    Image Added

  3. Specify the descriptive list of browser properties and their values that will be set at startup, in the "Properties" field, in JSON format.
    Template:

    {
          "acceptInsecureCerts": true,
          "browserName": "chrome",
          "goog:loggingPrefs": {
          "browser": "ALL"
    },

        "timeouts": {
        "implicit": 0,
        "pageLoad": 30000,
        "script": 30000
    },
    "unhandledPromptBehavior": "dismiss",
    "goog:chromeOptions": {
        "args": [
          "disable-popup-blocking",
          "disable-notifications",
          "no-sandbox",
          "disable-infobars",
          "disable-extensions",
          "disable-gpu",
          "start-maximized",
          "user-data-dir=C:\\Users\\<USER>\\AppData\\Local\\Yandex\\YandexBrowser\\User Data",
          "profile-directory=Default"
    ],
      "extensions": []
      }
    }

  4. C:\\Users\\<USER>\\AppData\\Local\\Yandex\\YandexBrowser\\User Data - replace "USER" in the path with your user.
  5. profile-directory - specify the folder with the necessary profile. Default is "Default". Example:

    Image Added

    Example of filling in the fields of the "Open browser" action:

    Image Added
  6. Run the robot. The browser will open with the specified profile.

When working with Yandex Browser and launching with a profile, it can sometimes hang if it opens without tabs. This can be eliminated by setting the following checkboxes in the browser settings Требуется замена скриншота

Image Added