Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

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

未关闭
#46 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
18/100
Issue 类型
文档
描述清晰度
需要澄清
活跃度
停滞
技术栈
php
领域
testing-qa

调研方向

该 issue 仅提供了 Codeception WebDriver YAML 配置,没有 repository 文件、测试或入口点。首先检查模块的 capability 处理和 Selenium 设置;完成标准是提供一种有文档记录且可复现的传递 certificate 的方式,或明确说明不支持此配置。

由索引模型根据 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. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Codeception/module-webdriver 的其他 Issue

查看 Codeception/module-webdriver 的全部 Issue

相似的 Issue

更多 PHP Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。