Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

How pass ssl certificate to seleniod in codeception from local chrome driver

オープン
#46 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
18/100
issue の種類
ドキュメント
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
php
領域
testing-qa

調査の方向性

この issue には Codeception WebDriver YAML 設定しかなく、リポジトリのファイル、テスト、エントリーポイントはありません。まずモジュールの capability 処理と Selenium のセットアップを確認してください。完了条件は、証明書を渡すための文書化された再現可能な方法、またはこの設定がサポートされていないことを明確に示すことです。

索引モデルが issue の本文から書いたものです。

説明

I have test when I will need to open browser with ssl certificate , the certificate is installed in my local chrome driver.

My situation is I need to pass local chrome configuration to chorme is open with seleniod

here is my yml file that I use to configure with seleniod:

modules:
    enabled:
        - Setter:
              source: cash
        - WebDriver:
                         browser: chrome
                         url: 'https://creditplus.ru/'
                         host: 192.168.4.117
                         window_size: 1376x768
                         restart: true
                         port: 4444
                         capabilities:
                          browserName: "chrome"
                          version: "65"
                          browserTimeout: 500
                          enableVNC: true
                          sessionTimeout: 120
                          name: "Cash here"

I tried to use the chrome profile like it shows below without any success:

modules:
    enabled:
        - Setter:
              source: cash
        - WebDriver:
                         browser: chrome
                         url: 'https://creditplus.ru/'
                         host: 192.168.4.117
                         window_size: 1376x768
                         restart: true
                         port: 4444
                         capabilities:
                          browserName: "chrome"
                          version: "65"
                          browserTimeout: 500
                          enableVNC: true
                          sessionTimeout: 120
                          name: "Cash here"
                          chromeOptions:
                           args: "user-data-dir=/home/strefi/.config/google-chrome/Default"]

When the browser open I am getting:
403 Forbidden

because there is no certificate

Please if someone have the situation with seleniod and Codeception help me.

In summary:
1- how I can export ssl certificate from local browser to seleniod in Codeception PHP

主要言語
PHP
スター
39
フォーク
25
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Codeception/module-webdriver のほかの issue

Codeception/module-webdriver の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。