Codeception / Codeception/module-webdriver

Loading webdriver tests with specific google chrome profile

オープン
#56 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
PHP
スター
39
フォーク
25
PR マージ指標
30日以内にマージされた PR はありません

説明

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

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

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

評価

この issue はまだ評価されていません。

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

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