Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#46 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
18/100
Loại issue
Tài liệu
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
php
Lĩnh vực
testing-qa

Hướng nghiên cứu

Issue chỉ cung cấp một cấu hình YAML của Codeception WebDriver và không có tệp trong repository, bài kiểm thử hay entry point. Hãy bắt đầu bằng cách kiểm tra việc xử lý capability của module và thiết lập Selenium; công việc được xem là hoàn tất khi có một cách được ghi lại và có thể tái hiện để truyền certificate, hoặc một tuyên bố rõ ràng rằng cấu hình này không được hỗ trợ.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
PHP
Star
39
Fork
25
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Codeception/module-webdriver

Tất cả issue của Codeception/module-webdriver

Issue tương tự

Thêm issue về PHP

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.