Codeception / Codeception/module-webdriver

Loading webdriver tests with specific google chrome profile

Đang mở
#56 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
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

Mô tả

Hi All,

I am trying to execute my codeception/webdriver tests on google chrome with a particular extension enabled.
So, I created a new chrome profile. The path is: ~/watchmaster/.config/google-chrome/Profile 2
Now I provided this path in my config yml file as:

``` yaml
modules:
config:
WebDriver:
host: localhost
port: 4444
browser: chrome
window_size: 1024x768
url: 'xxx'
capabilities:
unexpectedAlertBehaviour: 'accept'
chrome_profile: '/home/watchmaster/.config/google-chrome/Profile 2'
\Helper\EnvSpecificHelper:
languageCode: de_DE
environment: testing-de_DE
```

But when I execute my tests, it is not loading this profile.
I am using codeception v2.1.8
Any pointers how can I achieve loading this specific profile?

Thanks
Prateek

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

Đánh giá

Issue này chưa được đánh giá.

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.